Current collected state Current
Observed since 20 Oct, 20:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
6to5-browserify
6to5 browserify plugin
6to5 browserify plugin
$ npm install -g 6to5-browserify
$ browserify script.js -t 6to5-browserify --outfile bundle.js
var fs = require("fs");
var browserify = require("browserify");
var to5Browserify = require("6to5-browserify");
browserify({ debug: true })
.transform(to5Browserify)
.require("./script.js", { entry: true })
.bundle()
.on("error", function (err) { console.log("Error : " + err.message); })
.pipe(fs.createWriteStream("bundle.js"));
browserify().transform(to5Browserify.configure({
blacklist: ["generators"]
}))
By default all files with the extensions .js, .es6 and .jsx are compiled.
You can change this by passing an array of extensions.
NOTE: This will override the default ones so if you want to use any of them you have to add them back.
browserify().transform(to5Browserify.configure({
extensions: [".6to5"]
}))
browserify().transform(to5Browserify.configure({
// Optional ignore regex - if any filenames **do** match this regex then they
// aren't compiled
ignore: /regex/,
// Optional only regex - if any filenames **don't** match this regex then they
// aren't compiled
only: /my_es6_folder/
}))
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
6to5Environment{
"local_name": "6to5",
"alias": false,
"peer_metadata": null
} | ^1.11.4 | runtime |
throughEnvironment{
"local_name": "through",
"alias": false,
"peer_metadata": null
} | 2.3.4 | runtime |
lodashEnvironment{
"local_name": "lodash",
"alias": false,
"peer_metadata": null
} | ^2.4.1 | runtime |
Source distribution
{
"shasum": "cfd77b6eba83476bbc9513a16432f9ffba7c05bb",
"tarball": "https://registry.npmjs.org/6to5-browserify/-/6to5-browserify-1.2.0.tgz",
"integrity": "sha512-g2G+otwZthN+Eoxwq98nF3EoM9R6Bfj4Sxy6ikjiLiu41nafFofFYVA3AVlE6y/v59x633h4pO2mOptmOLvJvw==",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIHKlBQVQKuFBZmfvA+eyuzVfrVEma7muzgLmXksGU02AAiAE88iFECR4EgLoQR+aJeoSMMp9HafNtim+X+HuwX9nYw=="
}
]
}Observed since 20 Oct, 20:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:b6af0fe6300c06cbedbf2fd462f2f27bdfbf6de0e2fa8d365432aaf2941dfbd6