Skip to main content
Home

Built and signed on GitHub Actions

便利なテンプレート文字列ビルダー

This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
It is unknown whether this package works with Browsers
JSR Score
100%
Published
a year ago (1.0.1)
interface Prim

プリミティブなプレースホルダ

Type Parameters

プレースホルダが受け入れる値

HasDefault extends boolean = boolean

プレースホルダにデフォルト値があるか

Properties

kind: "primitive"

種類

default: HasDefault extends true ? T : null

デフォルト値 持っていない場合はnull

New Ticket: 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:@pnsk/template

Import symbol

import { type Prim } from "@pnsk/template";
or

Import directly with a jsr specifier

import { type Prim } from "jsr:@pnsk/template";

Add Package

pnpm i jsr:@pnsk/template
or (using pnpm 10.8 or older)
pnpm dlx jsr add @pnsk/template

Import symbol

import { type Prim } from "@pnsk/template";

Add Package

yarn add jsr:@pnsk/template
or (using Yarn 4.8 or older)
yarn dlx jsr add @pnsk/template

Import symbol

import { type Prim } from "@pnsk/template";

Add Package

vlt install jsr:@pnsk/template

Import symbol

import { type Prim } from "@pnsk/template";

Add Package

npx jsr add @pnsk/template

Import symbol

import { type Prim } from "@pnsk/template";

Add Package

bunx jsr add @pnsk/template

Import symbol

import { type Prim } from "@pnsk/template";