sitx

0.8.1 • Public • Published

sitx

license github-issues

search directory for references to localhost:1111/sit and replaces existing sit(val) with new sit(val)

nodei.co

version stars forks

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
    successful update screenshot

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

Readme

Keywords

none

Package Sidebar

Install

npm i sitx

Weekly Downloads

2

Version

0.8.1

License

ISC

Last publish

Collaborators

  • mcgraw73