# npm-template-with-tsup

> npm package template with tsup and typescript

Latest version **0.0.5** (published 2023-06-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install npm-template-with-tsup
pnpm add npm-template-with-tsup
yarn add npm-template-with-tsup
bun add npm-template-with-tsup
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2023-06-09 |
| First published | 2023-06-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | koji kanao |
| Maintainers | kojikanao |
| Keywords | tsup, npm, template, typescript |

## Links

- npm: https://www.npmjs.com/package/npm-template-with-tsup
- Homepage: https://github.com/koji/npm-package-template-tsup
- npm.io page: https://npm.io/package/npm-template-with-tsup

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2023-06-09
- 0.0.4 — 2023-06-09
- 0.0.3 — 2023-06-09
- 0.0.2 — 2023-06-09
- 0.0.1 — 2023-06-09

## README

# npm-package-template-tsup
This is a template package to publish npm package with typescript and tsup.

## tsup
Bundle your TypeScript library with no config, powered by esbuild.

https://tsup.egoist.dev/

## how to use this
1. install dependencies
```
# pnpm
$ pnpm install

# yarn
$ yarn

# npm
$ npm install
```
2. add your code to `src`
3. add export statement to `src/index.ts`
4. test build command to build `src`.
once the command works properly, you will see `dist` folder.

```zsh
# pnpm
$ pnpm run build

# yarn
$ yarn build

# npm
$ npm run build
```
5. publish your package

```zsh
$ npm publish
```


## test package
https://www.npmjs.com/package/npm-template-with-tsup

---
_Source: https://npm.io/package/npm-template-with-tsup · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
