The core logic & type defnitions of TextPlace.
This is written in TypeScript and should be able to run on browsers (web app uses it), Cloudflare Workers (that TextPlace backend runs on) and Deno (for development & main test platform). Compatibility with Node.js and Bun is not guranteed but issues & PRs are welcome.
This is available on both JSR and NPM. It's published on JSR as long as the tests are passing, and only published to NPM when a new release is tagged.
This project is licensed under the MIT License - see the LICENSE file for details.
Add Package
deno add jsr:@textplace/core
Import symbol
import * as core from "@textplace/core";
---- OR ----
Import directly with a jsr specifier
import * as core from "jsr:@textplace/core";
Add Package
npx jsr add @textplace/core
Import symbol
import * as core from "@textplace/core";
Add Package
yarn dlx jsr add @textplace/core
Import symbol
import * as core from "@textplace/core";
Add Package
pnpm dlx jsr add @textplace/core
Import symbol
import * as core from "@textplace/core";
Add Package
bunx jsr add @textplace/core
Import symbol
import * as core from "@textplace/core";