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 @todo
You may also use [npm run](https://npm runpkg.com/en/) to install.
npm run add @todo
The 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 install
installs all required dependencies. - Run
npm run build
to build from TypeScript to common JavaScript distribution formats. - Run
npm run test
to run all tests.
Equivalent
npm run <script>
should also work
npm run test
run tests against built output with ava. Important: runs against build output so runnpm run build
beforehand.npm run build
run build from TypeScript to UMD, CJS, ESM with microbundlenpm run watch
runs build in watch mode with microbundlenpm run lint
will lint all of the files with xonpm run format
will run lint with--fix
option 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.