Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kingcc/node-package-template

A simple npm package template that uses TypeScript, pnpm, EsNext.
https://github.com/kingcc/node-package-template

esnext nodejs npm package pnpm simple template typescript

Last synced: 8 days ago
JSON representation

A simple npm package template that uses TypeScript, pnpm, EsNext.

Awesome Lists containing this project

README

        

#

```ts

```

## Install

### Node.js

Install using `npm` or other package managers:

```
npm install /
```

Import into your Node.js project:

```js
// CommonJS
const { } = require("/")

// ESM
import { } from "/"
```

### Deno

Install using [JSR](https://jsr.io):

```shell
deno add /

#or

jsr add /
```

Then import into your Deno project:

```js
import { } from "/"
```

### Bun

Install using this command:

```
bun add /
```

Import into your Bun project:

```js
import { } from "/"
```

### Browser

It's recommended to import the minified version to save bandwidth:

```js
import { } from "https://cdn.skypack.dev//?min"
```

However, you can also import the unminified version for debugging purposes:

```js
import { } from "https://cdn.skypack.dev//"
```

## License

This project is licensed under the [GPL-3.0](./LICENCE).

## Author

[](https://github.com/)

---

Feel free to customize this template according to the needs of your package. If your package requires more complex setup, it's good to include detailed instructions on configuration, API references, and a changelog. Always ensure that the documentation is up to date with the latest code changes.