Skip to content
/ ts-lib Public template

Example repo of writing a typescript library.

License

Notifications You must be signed in to change notification settings

Ynewtime/ts-lib

Repository files navigation

@ynewtime/ts-lib

npm version npm downloads

Package description

Usage

Install package:

# npm
npm install @ynewtime/ts-lib

# yarn
yarn add @ynewtime/ts-lib

# pnpm
pnpm install @ynewtime/ts-lib

Import:

// ESM
import { sayHello } from '@ynewtime/ts-lib'

// CommonJS
const { sayHello } = require('@ynewtime/ts-lib')

💻 Development

  • Clone this repository
  • Enable Corepack using corepack enable (use npm i -g corepack for Node.js < 16.10)
  • Install dependencies using pnpm install
  • Setup and update simple-git-hooks: npx simple-git-hooks

License

Made with 💛

Published under MIT License.

About

Example repo of writing a typescript library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published