core-js
Web framework / library · Free
Modular JavaScript polyfills for standard APIs: they help run selected language features in project browsers and runtimes.
Also known as: zloirock/core-js; core-js-library

What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Add polyfills for supported JavaScript runtimes
- Connect the required polyfills and test the corresponding application features
Example workflow
A possible workflow; this is not a report of hands-on testing.
Add polyfills for supported JavaScript runtimes.
Before you start
- Web application source code and the intended workflow.
- The project's framework and runtime version.
Steps
- Identify APIs used but absent from target runtimes.
- Connect the required polyfills and test the corresponding application features.
- Add real data and error handling; check the production build.
Check your result
- The workflow works after a page refresh and with invalid data.
- The bundle, server rendering, and supported browsers suit the project.
Choosing core-js
Add polyfills for supported JavaScript runtimes
Choose this when
- Add polyfills for supported JavaScript runtimes
- Connect the required polyfills and test the corresponding application features
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
- The internal modules path does not add every dependency and may change in minor/patch releases; simultaneous corejs configuration in preset-env and runtime may conflict.
Frequently asked questions
What can you use for free in core-js?
Code and local use under MIT.
What additional costs might arise with core-js?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for core-js?
MIT for the code; dependencies have separate licenses.
How do you get started with core-js?
Identify APIs used but absent from target runtimes. Connect the required polyfills and test the corresponding application features. Add real data and error handling; check the production build.
How can I add polyfills without changing global objects?
core-js-pure exports functions/constructors without changing the global namespace. /stable paths include stable ES/web features, /actual also includes stage 3 proposals, and /full includes early proposals. Individual functions can be imported; Babel usage automatically adds required imports for the target.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- core-js
- web
- Development