UNPKG

on-one

Version:

Subscribe to one or more events and accept the first emitted

54 lines (53 loc) 1.24 kB
{ "name": "on-one", "version": "1.1.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", "source": "src/index.ts", "types": "dist/cjs/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsds build", "format": "tsds format", "prepublishOnly": "tsds validate", "test": "tsds test:node --no-timeouts", "test:engines": "nvu engines tsds test:node --no-timeouts", "version": "tsds version" }, "devDependencies": { "@types/mocha": "*", "@types/node": "*", "node-version-use": "*", "ts-dev-stack": "*", "tsds-config": "*" }, "engines": { "node": ">=0.8" } }