Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
babel-preset-mobx
Advanced tools
Babel preset for ES features commonly used with mobx
This preset includes the following plugins:
transform-decorators-legacy
transform-class-properties
transform-es2015-classes
transform-regenerator
In order to use async/generator functions, you will need to add
babel-polyfill
or
regenerator-runtime
to your dependencies
(note: that's not devDependencies
, as it's needed at
runtime).
$ npm install --save-dev babel-preset-mobx
.babelrc
(Recommended).babelrc
{
"presets": ["mobx"]
}
$ babel script.js --presets mobx
require("babel-core").transform("code", {
presets: ["mobx"]
});
FAQs
Babel preset for all Mobx plugins.
The npm package babel-preset-mobx receives a total of 1,718 weekly downloads. As such, babel-preset-mobx popularity was classified as popular.
We found that babel-preset-mobx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.