ultra-minimal pubsub module written in TypeScript
{
  "name": "@rasch/pubsub",
  "version": "0.2.0",
  "description": "ultra minimal pubsub module",
  "type": "module",
  "files": [
    "dist/*"
  ],
  "main": "./dist/index.js",
  "exports": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "scripts": {
    "build": "tsup src/index.ts --format esm --dts --sourcemap --no-splitting --clean",
    "build-min": "bun build ./src/index.ts --outdir ./dist --minify --entry-naming '[dir]/[name].min.[ext]'",
    "clean": "rm -rf dist node_modules"
  },
  "keywords": [
    "emit",
    "on",
    "publish",
    "publish-subscribe",
    "pubsub",
    "subscribe"
  ],
  "author": "Randy Schneck <i@rasch.co>",
  "license": "0BSD",
  "repository": {
    "type": "pijul",
    "url": "https://nest.pijul.com/rasch/pubsub"
  },
  "devDependencies": {
    "prettier": "^3.0.3",
    "tsup": "^7.2.0",
    "typescript": "^5.2.2"
  }
}