Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score100%
Published9 months ago (1.0.2)

A template for creating a TypeScript package

@augustinmauroy/typescript-package-template

This repository is a template for creating a typescript package. That will be published on npm and JSR simutaniously.

Note that this template is node.js oriented. But your typescript output can work on other runtime.

Devlopping with this template

Using right node.js version

nvm use # or fnm use

Running tests

node --run test

Building the project

node --run build

Extanding the template

When you want to use this template, you can add some features to it. Here is a list of things you can add:

Built and signed on
GitHub Actions

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@augustinmauroy/typescript-package-template

Import symbol

import * as typescript_package_template from "@augustinmauroy/typescript-package-template";
or

Import directly with a jsr specifier

import * as typescript_package_template from "jsr:@augustinmauroy/typescript-package-template";

Add Package

pnpm i jsr:@augustinmauroy/typescript-package-template
or (using pnpm 10.8 or older)
pnpm dlx jsr add @augustinmauroy/typescript-package-template

Import symbol

import * as typescript_package_template from "@augustinmauroy/typescript-package-template";

Add Package

yarn add jsr:@augustinmauroy/typescript-package-template
or (using Yarn 4.8 or older)
yarn dlx jsr add @augustinmauroy/typescript-package-template

Import symbol

import * as typescript_package_template from "@augustinmauroy/typescript-package-template";

Add Package

vlt install jsr:@augustinmauroy/typescript-package-template

Import symbol

import * as typescript_package_template from "@augustinmauroy/typescript-package-template";

Add Package

npx jsr add @augustinmauroy/typescript-package-template

Import symbol

import * as typescript_package_template from "@augustinmauroy/typescript-package-template";

Add Package

bunx jsr add @augustinmauroy/typescript-package-template

Import symbol

import * as typescript_package_template from "@augustinmauroy/typescript-package-template";