1.1.0 ā€¢ Published 4 years ago

@dperuo/npm-carbon v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Version Documentation License: MIT

Welcome to @dperuo/npm-carbon šŸ‘‹

Forked from goodeggs/npm-copy.

Use @dperuo/npm-carbon to make a "carbon copy" of any npm package and all its published versions.

Install

No installation needed. Use @dperuo/npm-carbon directly from npm using the npx command.

npx @dperuo/npm-carbon <OPTIONS>

Usage

:dart: NOTE: You can mix-and-match command options as needed.

Authenticate Using Auth Tokens

npx @dperuo/npm-carbon \
  --from ${FROM_URL} \
  --from-token ${FROM_TOKEN} \
  --to ${TO_URL} \
  --to-token ${TO_TOKEN} \
  packageA [packageB...]

Authenticate Using Username, Password, and Email

npx @dperuo/npm-carbon \
  --from ${FROM_URL} \
  --from-username ${FROM_USERNAME} \
  --from-password ${FROM_PASSWORD} \
  --from-email ${FROM_EMAIL} \
  --to ${TO_URL} \
  --to-username ${TO_USERNAME} \
  --to-password ${TO_PASSWORD} \
  --to-email ${TO_EMAIL} \
  packageA [packageB...]

Modify Package Prefix

Modify the package prefix using the --from-prefix and --to-prefix flags.

npx @dperuo/npm-carbon \
  --from-prefix ${FROM_PREFIX} \
  --to-prefix ${TO_PREFIX} \
  packageA [packageB...]

:warning: WARNING: List packages without their prefix when using the prefix flags. Example: @foo/packageA becomes just packageA.

Author

šŸ‘¤ Derek Peruo derek@derekperuo.net

šŸ¤ Contributing

Contributions, issues and feature requests are welcome! Feel free to check issues page.

Working With the @dperuo/npm-carbon Repo

Install

Clone this repo to your local machine and install dependencies.

git clone https://github.com/dperuo/npm-carbon.git
cd npm-carbon/
npm install

Usage

Use the start command to compile Coffeescript and watch for changes.

npm start

Run the local JavaScript file directly to check your changes.

./bin/npm-carbon.js <OPTIONS>

Run Tests

Run the full test suite using the test command.

npm run test

Submit Your Pull Request

Always submit your Pull Request against master.

Show your support

Give a ā­ļø if this project helped you!

šŸ“ License

Copyright Ā© 2020 Derek Peruo.

This project is MIT licensed.


This README was generated with ā¤ļø by readme-md-generator

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago