{
  "name": "interruptor",
  "version": "2.0.1",
  "description": "Run a function with the possibility to interrupt it from another thread",
  "main": "lib/index.js",
  "exports": {
    "require": "./lib/index.js",
    "import": "./.esm-wrapper.mjs"
  },
  "engines": {
    "node": ">=22.0.0"
  },
  "scripts": {
    "lint": "eslint {src,test}/**/*.ts",
    "test": "npm run lint && npm run build && nyc npm run test-only",
    "test-nolint": "npm run build && npm run test-only",
    "test-only": "mocha --colors test/*.ts",
    "build": "node-gyp rebuild && npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs",
    "prepack": "npm run build",
    "compile-ts": "tsc -p tsconfig.json"
  },
  "keywords": [
    "node.js",
    "interrupt",
    "break"
  ],
  "author": "Anna Henningsen <anna@addaleax.net>",
  "homepage": "https://github.com/mongodb-js/interruptor",
  "repository": {
    "type": "git",
    "url": "https://github.com/mongodb-js/interruptor.git"
  },
  "bugs": {
    "url": "https://github.com/mongodb-js/interruptor/issues"
  },
  "license": "Apache-2.0",
  "devDependencies": {
    "@types/mocha": "^10.0.10",
    "@types/node": "^25.5.2",
    "@typescript-eslint/eslint-plugin": "^4.2.0",
    "@typescript-eslint/parser": "^4.2.0",
    "eslint": "^7.9.0",
    "eslint-config-semistandard": "^15.0.1",
    "eslint-config-standard": "^14.1.1",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-standard": "^4.0.1",
    "gen-esm-wrapper": "^1.1.0",
    "mocha": "^11.7.5",
    "nyc": "^15.1.0",
    "typescript": "^6.0.2"
  }
}
