Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A gx package manager environment tool for node.

License

NotificationsYou must be signed in to change notification settings

ipmjs/gx-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Agx package manager environment toolfor node.

Please note thatthis project is under development, some features proposed may not beimplemented and any information provided is subject to change. Currently, there is not even any source code for this specific gx environment tool,we must plan!.

Table of Contents

Requirements

Users should haveIPFS of at least version0.4.0. gx can use apublic gateway to download node packages as gx dependencies, but if you wish to publish apackage to the network, a locally runningIPFS daemonis an absolute requirement.

Installation

go get -u github.com/ipmjs/gx-node

This will download thegx-node source into$GOPATH/src/github.com/ipmjs/gx and build and install a binary to$GOPATH/bin. To modifygx-node, just change the source in$GOPATH/src/github.com/ipmjs/gx and rungo build.

Usage

NAME:   gx-node - A gx environment tool for node.USAGE:   gx-node [global options] command [command options] [arguments...]VERSION:   0.0.0AUTHOR(S):   whyrusleeping   reimertz   lukeeeebennettCOMMANDS:   updateUpdate a node package that is already a gx dependency.   importImport a node package as a gx dependency.   hookNode-specific hooks called by gx.   help, hShows a list of commands or help for one command.GLOBAL OPTIONS:   --help, -hShows a list of commands or help for one command.   --version, -vShows version information.

Creating a package

In the root directory of your node package, just run:

gx init --lang=node

gx will create a newpackage.json for you with some default values.From there, all youhave to do is rungx publish and gx will return a hash addressfor your new package.

You will need a running IPFS daemon for this to work.

Importing a package

Importing an existing node package from gx is easy, just grab its hash address fromsomewhere, and run:

gx import <package-hash>

Getting involved

If you would like to get involved withgx-node orgx, please open anissue or stop by #gx and #ipfs on freenode irc!

License

The MIT License (MIT).Copyright (c) 2016 Luke Bennett.Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE.

About

A gx package manager environment tool for node.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp