@hongminhee/aitertools@0.6.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
dahlia/aitertoolsWell-tested utility functions dealing with async iterables
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
88%
Published
2 years ago (0.6.0)
import { build, emptyDir } from "jsr:@deno/dnt@^0.41.0"; await emptyDir("./npm"); const version = Deno.args[0]; await build({ entryPoints: ["./mod.ts"], outDir: "./npm", package: { // package.json properties name: "aitertools", version, description: "Well-tested utility functions dealing with async iterables", keywords: [ "iterable", "iterator", "async", "stream", "async-iterable", "async-iterator", ], license: "LGPL-3.0-or-later", author: { name: "Hong Minhee", email: "hong@minhee.org", url: "https://hongminhee.org/", }, homepage: "https://github.com/dahlia/aitertools", repository: { type: "git", url: "git+https://github.com/dahlia/aitertools.git", }, bugs: { url: "https://github.com/dahlia/aitertools/issues", }, }, shims: { deno: true, }, importMap: "deno.json", typeCheck: "both", test: true, declaration: "separate", esModule: true, rootTestDir: "./tests", }); // post build steps Deno.copyFileSync("LICENSE", "npm/LICENSE"); Deno.copyFileSync("README.md", "npm/README.md"); Deno.copyFileSync("CHANGES.md", "npm/CHANGES.md");