poll
Version:
A simple poll function based on async, await, and an infinite loop
56 lines (55 loc) • 1.25 kB
JSON
{
"name": "poll",
"version": "3.2.2",
"license": "MIT",
"description": "A simple poll function based on async, await, and an infinite loop",
"author": {
"name": "Philipp Rudloff",
"url": "https://kleinfreund.de"
},
"homepage": "https://github.com/kleinfreund/poll",
"repository": {
"type": "git",
"url": "https://github.com/kleinfreund/poll.git"
},
"bugs": {
"url": "https://github.com/kleinfreund/poll/issues"
},
"keywords": [
"poll",
"async",
"await"
],
"type": "module",
"exports": {
".": {
"types": "./types/index.d.ts",
"default": "./dist/poll.js"
},
"./types/index.d.ts": "./types/index.d.ts"
},
"main": "./dist/poll.js",
"module": "./dist/poll.js",
"types": "./types/index.d.ts",
"files": [
"dist",
"types"
],
"sideEffects": false,
"scripts": {
"build": "rollup --config",
"test": "vitest run --coverage",
"prebuild": "npm run test",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@vitest/coverage-c8": "^0.31.1",
"jsdom": "^22.0.0",
"rollup": "^3.22.0",
"tslib": "^2.5.1",
"typescript": "^5.0.4",
"vitest": "^0.31.1"
}
}