https://github.com/elsehow/gx-js
a distributed package manager for javascript
https://github.com/elsehow/gx-js
Last synced: 8 months ago
JSON representation
a distributed package manager for javascript
- Host: GitHub
- URL: https://github.com/elsehow/gx-js
- Owner: elsehow
- License: bsd-3-clause
- Created: 2016-03-23T21:47:08.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-15T22:37:25.000Z (about 10 years ago)
- Last Synced: 2025-04-11T21:47:54.917Z (about 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gx-js
a distributed package manager for javascript, built on [gx](https://github.com/whyrusleeping/gx)
## installation
you will need [go-ipfs](https://github.com/ipfs/go-ipfs) > 0.4.0 and [gx](https://github.com/whyrusleeping/gx) > 0.4.0
then, you can just
gx install --global [gx-js-hash-to-come]
## usage
gx-js install [package]
will install packages to `./node-modules/` recursively, from gx if possible, otherwise downloading from npm and importing into gx.
if no package is specified, will install each package in `package.json`
gx-js publish [-r depth]
publishes to the gx npm repository. the -r flag will recursively publish dependencies to ipfs, up to some maximum depth (0 to publish full dependency tree).
if -r is ommitted, it will publish your package to ipfs, but keep your dependencies on npm.
gx-js init
see npm init
## license
BSD