sitx
v0.8.1
Published
search directory for references to localhost:1111/sit, replaces existing sit(val) with new sit(val)
Downloads
3
Readme
sitx
search directory for references to localhost:1111/sit and replaces existing sit(val) with new sit(val)
Features
to quickly update localhost URL to point at given API
- navigate to root directory:
$ cd path/to/online---frontend
- in terminal use command
sitx
+ @argv, where @argv is the number for the API - to update to sit1 API:
$ sitx 1
- to update to sit3 API:
$ sitx 3
- any single digit number can be used as @argv
- on success, 8 files will be updated to
localhost:1111/sit@argv
Install
npm install -g sitx
Dependencies
Package | Version | Dev --- |:---:|:---: replace | ^0.3.0 | ✖ node-readme | ^0.1.9 | ✔
Contributing
Contributions welcome; Please submit all pull requests against master branch. Thanks!
Author
michael mcgraw
License
- ISC : http://opensource.org/licenses/ISC