UNPKG

on-one

Version:

Subscribe to one or more events and accept the first emitted

52 lines (51 loc) 1.16 kB
{ "name": "on-one", "version": "1.0.1", "description": "Subscribe to one or more events and accept the first emitted", "keywords": [ "event", "emitter", "on", "trigger", "listen", "one", "once" ], "homepage": "https://github.com/kmalakoff/on-one", "repository": { "type": "git", "url": "git+ssh://git@github.com/kmalakoff/on-one.git" }, "license": "MIT", "author": "Kevin Malakoff <kmalakoff@gmail.com> (https://github.com/kmalakoff)", "type": "module", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "./package.json": "./package.json" }, "main": "dist/cjs/index.js", "types": "dist/cjs/index.d.cts", "files": [ "dist" ], "scripts": { "build": "tsds build", "format": "biome check --write --unsafe", "test": "mocha --no-timeouts test/**/*.test.*", "test:engines": "nvu engines tsds test:node --no-timeouts", "version": "tsds version" }, "devDependencies": { "@types/mocha": "*", "@types/node": "*" }, "engines": { "node": ">=0.8" }, "tsds": { "source": "src/index.ts" } }