Benign npm Download

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

Evidence

Homepage points to major Git host package.json · lines 1–19
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}
Calls JavaScript readFile API index.js · lines 46–70
⋯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

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.