module-definition 1.0.0
“Determines if a file is using a CommonJS or AMD module definition”
Calls JavaScript readFile APIHomepage points to major Git host
SHA-256b0914b43f9939d5cd5125f30fd0da380a6f31cc571633d6b90eceebd6a82a597
MaleculeH(F)Md(Pa₂)
Evidence
1{
2 "name": "module-definition",
3 "version": "1.0.0",
4 "description": "Determines if a file is using a CommonJS or AMD module definition",
5 "main": "index.js",
6 "scripts": {
7 "test": "echo \"Error: no test specified\" && exit 1"
8 },
9 "repository": {
10 "type": "git",
11 "url": "https://github.com/mrjoelkemp/module-definition"
12 },
13 "author": "Joel Kemp <[email protected]> (http://www.mrjoelkemp.com/)",
14 "license": "MIT",
15 "homepage": "https://github.com/mrjoelkemp/module-definition",
16 "dependencies": {
17 "esprima": "^1.0.4"
18 }
19}
⋯6 lines
52
53 // Read file
54 fs.readFile(file, function (err, data) {
55 if (err) {
56 console.log(err);
⋯14 lines
No evidence locations were recorded for this file. Raw result