Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cd

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cd - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "cd",
"version": "0.1.0",
"version": "0.1.1",
"description": "chdir in chainer fashion + read file",

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

@@ -12,7 +12,7 @@ cd? cd

1. Reading .json file will strip comments and converte into JSON object.
2. Reading .js file is equivalent of require('dir/to/file')
1. Reading .json will strip comments and convert to JSON.
2. Reading .js is equivalent of require() that file.
3. Other files are just read.
4. Supply file as argument on last call. No chaning afterwards.
5. Module is syncro, but if you have good idea how to make it async please let me know.
5. Module is synchro. Hmmm, do we really need async version?

@@ -19,0 +19,0 @@ Usage:

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc