mirror of
https://github.com/denoland/deno.git
synced 2024-12-15 11:58:42 -05:00
1f54d87789
This commit adds "ext/node" extension that implementes CommonJS module system. In the future this extension might be extended to actually contain implementation of Node compatibility layer in favor of "deno_std/node". Currently this functionality is not publicly exposed, it is available via "Deno[Deno.internal].require" namespace and is meant to be used by other functionality to be landed soon. This is a minimal first pass, things that still don't work: support for dynamic imports in CJS conditional exports
68 lines
1.6 KiB
JSON
68 lines
1.6 KiB
JSON
{
|
|
"_from": "left-pad",
|
|
"_id": "left-pad@1.3.0",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==",
|
|
"_location": "/left-pad",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "tag",
|
|
"registry": true,
|
|
"raw": "left-pad",
|
|
"name": "left-pad",
|
|
"escapedName": "left-pad",
|
|
"rawSpec": "",
|
|
"saveSpec": null,
|
|
"fetchSpec": "latest"
|
|
},
|
|
"_requiredBy": [
|
|
"#USER",
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz",
|
|
"_shasum": "5b8a3a7765dfe001261dde915589e782f8c94d1e",
|
|
"_spec": "left-pad",
|
|
"_where": "/Users/kun/Projects/Deno/deno/std/node/tests",
|
|
"author": {
|
|
"name": "azer"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/stevemao/left-pad/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"deprecated": "use String.prototype.padStart()",
|
|
"description": "String left pad",
|
|
"devDependencies": {
|
|
"benchmark": "^2.1.0",
|
|
"fast-check": "0.0.8",
|
|
"tape": "*"
|
|
},
|
|
"homepage": "https://github.com/stevemao/left-pad#readme",
|
|
"keywords": [
|
|
"leftpad",
|
|
"left",
|
|
"pad",
|
|
"padding",
|
|
"string",
|
|
"repeat"
|
|
],
|
|
"license": "WTFPL",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "Cameron Westland",
|
|
"email": "camwest@gmail.com"
|
|
}
|
|
],
|
|
"name": "left-pad",
|
|
"repository": {
|
|
"url": "git+ssh://git@github.com/stevemao/left-pad.git",
|
|
"type": "git"
|
|
},
|
|
"scripts": {
|
|
"bench": "node perf/perf.js",
|
|
"test": "node test"
|
|
},
|
|
"types": "index.d.ts",
|
|
"version": "1.3.0"
|
|
}
|