🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

hello-nodejs-austin

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hello-nodejs-austin - npm Package Compare versions

Comparing version

to
3.0.0

.npmignore

16

index.js

@@ -1,1 +0,15 @@

console.log('hello');
module.exports = function saySomething (options, cb){
try {
if (!options.hasOwnProperty('msg')) {
return cb(new Error('`msg` is required'));
}
}
catch (e) {
return cb(e);
}
console.log(options.msg);
setImmediate(function (){
return cb();
});
};

4

package.json
{
"name": "hello-nodejs-austin",
"version": "1.0.0",
"version": "3.0.0",
"description": "A sample package.",
"main": "index.js",
"main": "app.js",
"scripts": {

@@ -7,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1"