New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

seekout

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seekout

Looks for a provided file in the current directory and all parent directories and returns the first found file path

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
114K
decreased by-34.32%
Maintainers
1
Weekly downloads
 
Created
Source

seekout

Looks for a provided file in the current directory. Also checks all parent directories and returns the first found file path.

Installation

$ npm install seekout

Usage

const seekout = require('seekout');

seekout('.npmrc');
// "/Users/sullenor/.npmrc"
// or null if file was not found

You can also specify any certain working directory by the second argument.

const seekout = require('seekout');

seekout('package.json', './seekout');
// "/../seekout/package.json"

Keywords

FAQs

Package last updated on 20 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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