DESCRIBE THE LIBRARY
LINK TO OTHER RESOURCES
This library allows you to quickly and easily do @todo via Node.js.
This project is not officially affiliated with @todo, it's maintained by community members. For any feedback, questions or issues, please create issues and pull requests or merely upvote or comment on existing issues or pull requests.
- Node.js version 10 or 12
Grab your API Key from the @todo.
Do not hardcode your API Key into your code. Instead, use an environment variable or some other secure means of protecting your API Key. Following is an example of using an environment variable.
Update the development environment with your @todo, for example:
The following recommended installation requires npm. If you are unfamiliar with npm, see the npm docs. Npm comes installed with Node.js since node version 0.8.x, therefore, you likely already have it.
npm install --save @todoYou may also use [npm run](https://npm runpkg.com/en/) to install.
npm run add @todoThe following is the minimum needed code to use this library. Use this example, and modify the to and from variables:
For more complex use cases, please see USE_CASES.md.
If you are interested in the future direction of this project, please take a look at the open issues and pull requests. I would love to hear your feedback!
- Node 18
- npm v7
- Clone the repository
- Run
npm installinstalls all required dependencies. - Run
npm run buildto build from TypeScript to common JavaScript distribution formats. - Run
npm run testto run all tests.
Equivalent
npm run <script>should also work
npm run testrun tests against built output with ava. Important: runs against build output so runnpm run buildbeforehand.npm run buildrun build from TypeScript to UMD, CJS, ESM with microbundlenpm run watchruns build in watch mode with microbundlenpm run lintwill lint all of the files with xonpm run formatwill run lint with--fixoption on all the examples files (and tests).npm run release, run clean, production build and release withnp.
This package is maintained by Hugo from Code with Hugo and Alpine.js Weekly.
Special thanks to:
- The developers behind
- microbundle
- np
- microbundle-ts-pkg template
Code is licensed under the MIT License.