0.0.3 • Published 1 year ago

open-tools v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Open Tools NPM Package

Package Link: https://www.npmjs.com/package/open-tools


Note Before git commit, run npm run check to check if the test cases are passing.


How to add a function

For example, we want to add a function for addition of two numbers.

  1. Create a new folder add-two-numbers in src folder.
  2. Add a file index.ts in the folder with the TypeScript code for the function.
  3. Add a file test.ts in the __test__ folder with the test cases for the function.
  4. Add an export statement in src/index.ts for the function.
src/
├── add-two-numbers     // Function Name
|   |
│   ├── index.ts        // Function Code
|   |
│   └── __test__
│       └── test.ts     // Test Cases
|
└── index.ts            // Export Statement
0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago