Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
babel-preset-behance
Advanced tools
Babel preset for Behance
$ npm install --save-dev babel-preset-behance
.babelrc
(Recommended).babelrc
{
"presets": ["behance"]
}
$ babel script.js --presets behance
require("babel-core").transform("code", {
presets: ["behance"]
});
We currently exclude
transform-regenerator
by default.
browser
(true
by default) - Enable browser specific presets and transforms.env
(undefined by default) - Pass down env options to babel-preset-env. See the babel-preset-env docs for more info.{
"presets": ["behance", { "browser": true }]
}
{
"presets": ["behance", { "browser": false }]
}
{
"presets": ["behance", {
"browser": false,
"env": {
"targets": {
"chrome": 55
}
}
}]
}
{
"presets": ["behance", {
"browser": false,
"env": {
"targets": {
"node": "current"
}
}
}]
}
FAQs
Babel preset for Behance
The npm package babel-preset-behance receives a total of 44 weekly downloads. As such, babel-preset-behance popularity was classified as not popular.
We found that babel-preset-behance demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 40 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.