https://github.com/ethjs/ethjs-template
A script for initializing a new JS module in the ethjs format.
https://github.com/ethjs/ethjs-template
Last synced: over 1 year ago
JSON representation
A script for initializing a new JS module in the ethjs format.
- Host: GitHub
- URL: https://github.com/ethjs/ethjs-template
- Owner: ethjs
- Created: 2017-04-24T21:12:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T18:54:02.000Z (about 9 years ago)
- Last Synced: 2025-01-23T06:29:41.491Z (over 1 year ago)
- Language: Shell
- Size: 28.3 KB
- Stars: 0
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EthJS Template
A node.js script for creating an [Ethjs](https://github.com/ethjs) style module.
## Installation
```
npm install -g replace
npm install -g ethjs-template
```
## Usage
```
ethjs-template ETHJS_MODULE_TO_CLONE NEW_MODULE_NAME
```
### Example:
`ethjs-template ethjs-signer ethjs-your-module-name`
This will create a folder named `your-module-name` in the current folder, clone and install `ethjs-signer` inside of it, change all the names to your module's name, install the dependencies, and then run `npm init` to ask you about any other changes to make.
It's very simple, but enough to get going with this fairly complicated but reliable module format.