Socket
Socket
Sign inDemoInstall

notable

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

README.md

10

notable.js

@@ -6,4 +6,2 @@ #!/usr/bin/env node

var notersDir = `${process.env.HOME}/.noters`;
var location = `${notersDir}/${process.cwd().replace(/\//g, '-')}`;

@@ -14,5 +12,3 @@

fs.unlinkSync(location);
console.log('\nnote removed')
} else {
console.log('\npshhhhhhh there isn\'t anything here.');
console.log('\naote removed')
}

@@ -24,3 +20,3 @@ } else if (args.length > 0) {

fs.writeFileSync(location, args.join(' '));
console.log('\nnote saved :)');
console.log('\nnote saved');
} else {

@@ -30,4 +26,4 @@ if (fs.existsSync(location)) {

} else {
console.log('\nno notes found');
console.log('\nnothng here');
}
}
{
"name": "notable",
"version": "0.0.1",
"version": "0.0.2",
"description": "Leave notes for yourself in the terminal",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc