Skip to main content

latest

jsfunc 是将函数转换为接口的工具。

This package works with Cloudflare Workers, Node.js, Deno, BunIt is unknown whether this package works with Browsers
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
2 months ago (1.0.2)

jsfunc 是将函数转换为接口的工具。

Examples

Example 1


import jsfunc from 'jsfunc';

jsfunc({
  source: './src',
  target: './dist',
})

Add Package

deno add jsr:@cnpap/jsfunc

Import symbol

import * as mod from "@cnpap/jsfunc";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@cnpap/jsfunc";

Add Package

npx jsr add @cnpap/jsfunc

Import symbol

import * as mod from "@cnpap/jsfunc";

Add Package

yarn dlx jsr add @cnpap/jsfunc

Import symbol

import * as mod from "@cnpap/jsfunc";

Add Package

pnpm dlx jsr add @cnpap/jsfunc

Import symbol

import * as mod from "@cnpap/jsfunc";

Add Package

bunx jsr add @cnpap/jsfunc

Import symbol

import * as mod from "@cnpap/jsfunc";