Catalog npm
Back to packageRELEASE DETAILS

0.0.7

npm

6to5-browserify

6to5 browserify plugin

Published8 Oct 2014
Direct dependencies3
Transitive dependenciesNot calculated

README

Current package documentation

6to5-browserify

6to5 browserify plugin

Installation

$ npm install -g 6to5-browserify

Usage

CLI

$ browserify script.js -t 6to5-browserify --outfile bundle.js

Node

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"));

Options

browserify().transform(to5Browserify.configure({
  blacklist: ["generators"]
}))

Customising extensions

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"]
}))

Additional options

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/
}))

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
6to5
Environment
{
  "local_name": "6to5",
  "alias": false,
  "peer_metadata": null
}
*runtime
through
Environment
{
  "local_name": "through",
  "alias": false,
  "peer_metadata": null
}
2.3.4runtime
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^2.4.1runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "ad6acd29e1164d869817d2291a4268d68f16e3a4",
  "tarball": "https://registry.npmjs.org/6to5-browserify/-/6to5-browserify-0.0.7.tgz",
  "integrity": "sha512-XkxPdPGDRWgbVgPX/oN9ZGBEGG/AIy91GaGB02bDeWV4HjJ0engMvbgnM7dwW8ZPLyub9P4NTlJ8TqsPsEN4rw==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDxdhj8N4Y4OQNnLSktf4gA7WgxY4LiiyahHoGN5EL4lgIgO2vX7Hp/JFlGV4KER5YqWLxnxQrARggyNSa6nmuc6bg="
    }
  ]
}

Repository

PENDING
sebmck/6to5-connect

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
sebmck/6to5-browserify

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:55 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:53da6bae84cdcdce421d1c7cb9677c9efb25d9c0ea5281beb40a7357c75fd7e3

Other collected versions

1.4.011 Dec1.3.019 Nov1.2.015 Nov1.1.010 Nov1.0.029 Oct0.0.1115 OctView all collected versions →