A brief description of what your project does and why it's useful.
- Feature 1
- Feature 2
- Feature 3
Install the package using npm or yarn:
npm install npm-package-template
# or
yarn add npm-package-template
Explain how to use the library, with code examples:
import { feature1 } from "npm-package-template";
feature1();
import feature1 from "npm-package-template/feature1";
feature1();
import { feature1, feature2 } from "npm-package-template";
feature1();
feature2();
Description of feature1
. Provide details about parameters and return values if applicable.
feature1(param: Type): ReturnType
param
: Description of the parameter.- Returns: Description of the return value.
Description of feature2
.
feature2(param: Type): ReturnType
param
: Description of the parameter.- Returns: Description of the return value.
Explain if there are any configurations or settings that users need to be aware of:
{
"option1": "value1",
"option2": "value2"
}
Run tests using Vitest:
npm run test
Contributions are welcome! Please read the contribution guidelines for more details.
- Fork the repository.
- Create a new branch (
git checkout -b feat/new-feature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feat/new-feature
). - Open a Pull Request.