polyglot
is-even
polyglot | is-even | |
---|---|---|
2 | 26 | |
3,645 | 96 | |
0.1% | - | |
1.1 | 0.0 | |
5 months ago | about 6 years ago | |
JavaScript | JavaScript | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
polyglot
-
Reverse-Engineering Airbnb’s Internationalization Library
You'll find many code snippets below. Most of them come from the source code of Polyglot itself. This article aims to give you more explanations about that code, its purpose, and its use.
-
I will pay you cash to delete your npm module
The bloat comes from a minority of package authors with attitudes like this: https://github.com/airbnb/polyglot.js/pull/150
is-even
-
4B If Statements
The actual implementation of this package is even better.
https://github.com/i-voted-for-trump/is-even/blob/master/ind...
- Hello World com 80mb
-
Oh no
But have you seen is-even?
- do not follow others
-
Hey devs , I am just learning React and I am facing an issue After Downloading And installing Nodejs I just made a react app by using npx create-react-app my-app in and it took 250mb in the project alone , Did I made a mistake as a result it downloaded extra files which took this much space
This has to be a joke, right?
-
Javascript libraries be like
Most funny thing is that it is using the: isOdd library (https://github.com/i-voted-for-trump/is-even/blob/master/index.js). Another miracle of human engineering.
- My college professors be like...
-
Why all the hate?
Micro-dependencies. There is no excuse for a module as tiny as left-pad, or any of the hundreds of modules spammed into NPM by this asshat ever. It's just fucking stupid.
-
When you spend hours coding something only to realize it already exists.
IsEven = !IsOdd
- Feel pain ye true mortals.
What are some alternatives?
i18next - i18next: learn once - translate everywhere
npm-force-resolutions - Force npm to install a specific transitive dependency version
React Intl - The monorepo home to all of the FormatJS related libraries, most notably react-intl.
micromatch - Highly optimized wildcard and glob matching library. Faster, drop-in replacement to minimatch and multimatch. Used by square, webpack, babel core, yarn, jest, ract-native, taro, bulma, browser-sync, stylelint, nyc, ava, and many others! Follow micromatch's author: https://github.com/jonschlinkert
react-i18next - Internationalization for react done right. Using the i18next i18n ecosystem.
is-odd - I created this in 2014, the year I learned how to program. All of the downloads are from an old version of https://github.com/micromatch/micromatch. I've done a few other things since: https://github.com/jonschlinkert.
jsLingui - 🌍 📖 A readable, automated, and optimized (3 kb) internationalization for JavaScript
enquirer - Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.com/jonschlinkert
babelfish - human friendly i18n for javascript (node.js + browser)
isEvenAPI - :seven: API Wrapper for isEven. Check is a integer is even or odd.
ttag - :orange_book: simple approach for javascript localization
cache-base - Basic object store with methods like get/set/extend/omit