gx
chenyc
2025-06-12 7b72ac13a83764a662159d4a49b7fffb90476ecb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  "name": "optional-require",
  "version": "1.1.8",
  "description": "NodeJS Require that let you handle module not found error without try/catch",
  "main": "index.js",
  "types": "index.d.ts",
  "scripts": {
    "build": "tsc",
    "test": "xrun --serial build xarc/test-only",
    "coverage": "xrun --serial build xarc/test-cov",
    "publish-util-pre": "publish-util-prepublishonly",
    "prepublishOnly": "xrun --serial [[build, docs], xarc/check, publish-util-pre]",
    "docs": "xrun xarc/docs && touch docs/.nojekyll",
    "postpack": "publish-util-postpack"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/jchip/optional-require.git"
  },
  "keywords": [
    "optional require",
    "optional",
    "require"
  ],
  "files": [
    "dist",
    "index.js",
    "index.d.ts"
  ],
  "engines": {
    "node": ">=4"
  },
  "author": "Joel Chen",
  "license": "Apache-2.0",
  "dependencies": {
    "require-at": "^1.0.6"
  }
}