0.0.3 • Published 3 years ago

open-tools v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years 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

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago