Skip to content

hygorzorak/npm-package-template

Repository files navigation

OSB.: This is a template. Please update with your library details.

Package Name

NPM Version

A brief description of what your project does and why it's useful.

Features

  • Feature 1
  • Feature 2
  • Feature 3

Table of Contents

Installation

Install the package using npm or yarn:

npm install npm-package-template
# or
yarn add npm-package-template

Usage

Explain how to use the library, with code examples:

Importing Features

Method 1: Named Imports

import { feature1 } from "npm-package-template";

feature1();

Method 2: Path-based Imports

import feature1 from "npm-package-template/feature1";

feature1();

Example

import { feature1, feature2 } from "npm-package-template";

feature1();
feature2();

API

feature1()

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.

feature2()

Description of feature2.

feature2(param: Type): ReturnType
  • param: Description of the parameter.
  • Returns: Description of the return value.

Configuration

Explain if there are any configurations or settings that users need to be aware of:

{
  "option1": "value1",
  "option2": "value2"
}

Tests

Run tests using Vitest:

npm run test

Contributing

Contributions are welcome! Please read the contribution guidelines for more details.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feat/new-feature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feat/new-feature).
  5. Open a Pull Request.

About

Packages to handle localization for countries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published