Skip to content

crossyio/node-crossyio-unpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crossyio-unpack

crossy.io npm module unpacker

Build Status Code Climate Gitter

Crossy.IO allows you to easily cross compile your NPM packages for multiple operating systems / architectures. Sign up at crossy.io.

Usage

Include the following in your package.json.

{
  "scripts": {
    "preinstall": "node -e \"try{require('crossyio-unpack/preinstall');}catch(e){}\""
  },
  "bundledDependencies": [
    "crossyio-unpack"
  ],
  "dependencies": {
    "crossyio-unpack": "^1.0.0"
  },
  "crossyio": {
    "url": "crossy.io/org-name/package-name"
  }
}

When someone installs your package, the preinstall script will check crossy.io and, if available, download a tarball containing the package dependencies. The tarball will be extracted into your node_modules.

If the pre-compiled version is not available, the normal npm process will continue.

Example

See crossyio-canary as an example npm package.

About

crossy.io npm module unpacker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published