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

fuzzy-search-most-recent-dir

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fuzzy-search-most-recent-dir - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

cli.js

@@ -16,8 +16,10 @@ #!/usr/bin/env node

if (haystack && fuzzysearch(needle, haystack)) {
return resolve(cwd, haystack);
console.log(resolve(cwd, haystack));
return;
}
}
throw new Error('No match for "' + needle + '" in ' + cwd);
console.error('No match for "%s" in %s', needle, cwd);
process.exit(1);
}
process.stdout.write(select());
select();
{
"name": "fuzzy-search-most-recent-dir",
"version": "1.0.1",
"version": "1.0.2",
"files": [

@@ -5,0 +5,0 @@ "cli.js"

@@ -23,4 +23,7 @@ # fuzzy-search-most-recent-dir

I wanted a fast way to `cd` between different projects.
The `cdd` function below jumps to the most recently modified project directory that matches the fuzzy search.
For example `cdd featfla` would `cd` directly to the _feature-flag-api_ directory.
`cdd` without any search pattern will `cd` to the most recently modified project.

@@ -27,0 +30,0 @@

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