We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ca20e3 commit a815febCopy full SHA for a815feb
2 files changed
lib/index.d.ts
@@ -0,0 +1 @@
1
+export function env(string?: string): boolean | string
package.json
@@ -2,10 +2,12 @@
2
"name": "node.env-inspector",
3
"version": "0.1.0",
4
"description": "Inspect NODE_ENV environment variable",
5
- "main": "lib/index.js",
+ "main": "./lib/index.js",
6
"engines": {
7
"node": ">=12"
8
},
9
+ "types": "./lib/index.d.ts",
10
+ "exports": "./lib/index.js",
11
"scripts": {
12
"typecheck": "tsc --noEmit -p jsconfig.json",
13
"format": "npm run prettier -- --write",
0 commit comments