1 | {
|
2 | "_args": [
|
3 | [
|
4 | {
|
5 | "raw": "loose-envify@^1.0.0",
|
6 | "scope": null,
|
7 | "escapedName": "loose-envify",
|
8 | "name": "loose-envify",
|
9 | "rawSpec": "^1.0.0",
|
10 | "spec": ">=1.0.0 <2.0.0",
|
11 | "type": "range"
|
12 | },
|
13 | "/Users/benjamincoe/oss/nyc/node_modules/invariant"
|
14 | ]
|
15 | ],
|
16 | "_from": "loose-envify@>=1.0.0 <2.0.0",
|
17 | "_id": "loose-envify@1.3.1",
|
18 | "_inCache": true,
|
19 | "_location": "/loose-envify",
|
20 | "_nodeVersion": "7.3.0",
|
21 | "_npmOperationalInternal": {
|
22 | "host": "packages-18-east.internal.npmjs.com",
|
23 | "tmp": "tmp/loose-envify-1.3.1.tgz_1484486581665_0.5577248032204807"
|
24 | },
|
25 | "_npmUser": {
|
26 | "name": "zertosh",
|
27 | "email": "zertosh@gmail.com"
|
28 | },
|
29 | "_npmVersion": "3.10.10",
|
30 | "_phantomChildren": {},
|
31 | "_requested": {
|
32 | "raw": "loose-envify@^1.0.0",
|
33 | "scope": null,
|
34 | "escapedName": "loose-envify",
|
35 | "name": "loose-envify",
|
36 | "rawSpec": "^1.0.0",
|
37 | "spec": ">=1.0.0 <2.0.0",
|
38 | "type": "range"
|
39 | },
|
40 | "_requiredBy": [
|
41 | "/invariant"
|
42 | ],
|
43 | "_resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz",
|
44 | "_shasum": "d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848",
|
45 | "_shrinkwrap": null,
|
46 | "_spec": "loose-envify@^1.0.0",
|
47 | "_where": "/Users/benjamincoe/oss/nyc/node_modules/invariant",
|
48 | "author": {
|
49 | "name": "Andres Suarez",
|
50 | "email": "zertosh@gmail.com"
|
51 | },
|
52 | "bin": {
|
53 | "loose-envify": "cli.js"
|
54 | },
|
55 | "bugs": {
|
56 | "url": "https://github.com/zertosh/loose-envify/issues"
|
57 | },
|
58 | "dependencies": {
|
59 | "js-tokens": "^3.0.0"
|
60 | },
|
61 | "description": "Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST",
|
62 | "devDependencies": {
|
63 | "browserify": "^13.1.1",
|
64 | "envify": "^3.4.0",
|
65 | "tap": "^8.0.0"
|
66 | },
|
67 | "directories": {},
|
68 | "dist": {
|
69 | "shasum": "d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848",
|
70 | "tarball": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz"
|
71 | },
|
72 | "gitHead": "7b2d41e61a7ddba5335154b4aba327f6e850f7fd",
|
73 | "homepage": "https://github.com/zertosh/loose-envify",
|
74 | "keywords": [
|
75 | "environment",
|
76 | "variables",
|
77 | "browserify",
|
78 | "browserify-transform",
|
79 | "transform",
|
80 | "source",
|
81 | "configuration"
|
82 | ],
|
83 | "license": "MIT",
|
84 | "main": "index.js",
|
85 | "maintainers": [
|
86 | {
|
87 | "name": "zertosh",
|
88 | "email": "zertosh@gmail.com"
|
89 | }
|
90 | ],
|
91 | "name": "loose-envify",
|
92 | "optionalDependencies": {},
|
93 | "readme": "# loose-envify\n\n[![Build Status](https://travis-ci.org/zertosh/loose-envify.svg?branch=master)](https://travis-ci.org/zertosh/loose-envify)\n\nFast (and loose) selective `process.env` replacer using [js-tokens](https://github.com/lydell/js-tokens) instead of an AST. Works just like [envify](https://github.com/hughsk/envify) but much faster.\n\n## Gotchas\n\n* Doesn't handle broken syntax.\n* Doesn't look inside embedded expressions in template strings.\n - **this won't work:**\n ```js\n console.log(`the current env is ${process.env.NODE_ENV}`);\n ```\n* Doesn't replace oddly-spaced or oddly-commented expressions.\n - **this won't work:**\n ```js\n console.log(process./*won't*/env./*work*/NODE_ENV);\n ```\n\n## Usage/Options\n\nloose-envify has the exact same interface as [envify](https://github.com/hughsk/envify), including the CLI.\n\n## Benchmark\n\n```\nenvify:\n\n $ for i in {1..5}; do node bench/bench.js 'envify'; done\n 708ms\n 727ms\n 791ms\n 719ms\n 720ms\n\nloose-envify:\n\n $ for i in {1..5}; do node bench/bench.js '../'; done\n 51ms\n 52ms\n 52ms\n 52ms\n 52ms\n```\n",
|
94 | "readmeFilename": "README.md",
|
95 | "repository": {
|
96 | "type": "git",
|
97 | "url": "git://github.com/zertosh/loose-envify.git"
|
98 | },
|
99 | "scripts": {
|
100 | "test": "tap test/*.js"
|
101 | },
|
102 | "version": "1.3.1"
|
103 | }
|