https://github.com/danielpza/node-typescript-package
Node Typescript Package Template
https://github.com/danielpza/node-typescript-package
Last synced: about 2 months ago
JSON representation
Node Typescript Package Template
- Host: GitHub
- URL: https://github.com/danielpza/node-typescript-package
- Owner: danielpza
- License: mit
- Created: 2020-06-26T00:18:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-09-17T04:55:07.000Z (9 months ago)
- Last Synced: 2026-04-08T22:34:11.663Z (2 months ago)
- Language: TypeScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Node Typescript Package Template

Description
---
## Installing this Template
### Using tsc for compiling
```sh
# with giget https://github.com/unjs/giget
npx giget gh:danielpza/node-typescript-package#master
# with degit https://github.com/Rich-Harris/degit
npx degit danielpza/node-typescript-package
```
### Using pkgroll
```sh
# with giget https://github.com/unjs/giget
npx giget gh:danielpza/node-typescript-package#pkgroll
# with degit https://github.com/Rich-Harris/degit
npx degit danielpza/node-typescript-package#pkgroll
```
## Setting an npm token for publishing the package to npm
Create a new token at https://www.npmjs.com/settings/{yourusername}/tokens/granular-access-tokens/new
Then set the NPM_TOKEN secret in github with the generated token. `gh secret set NPM_TOKEN`
---
## Installation
```sh
npm install https://github.com/danielpza/node-typescript-package.git
```
## Usage
```typescript
import { fn } from "node-typescript-package";
fn();
```