Socket
Socket
Sign inDemoInstall

get-driver-scripts

Package Overview
Dependencies
102
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    get-driver-scripts

Get the entry points from a config or found within a directory


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
44.7 MB
Created
Weekly downloads
 

Readme

Source
get-driver-scripts npm npm

Gets the entry point filepaths to an application from a build configuration or by finding them about a directory.

npm install get-driver-scripts

Usage

var getDrivers = require('get-driver-scripts');

getDrivers({
  directory: 'path/to/my/js',
  success: function(err, drivers) {

  }
})
Optional properties:
  • exclusions: a list of (sub)directory names to exclude from the search
  • buildConfig: a RequireJS build configuration that contains a list of modules
  • This config will be parsed and you'll get back the filepaths of those modules
  • config: a RequireJS configuration that lists aliased paths.
  • This is necessary when you don't supply a build config and want the plugin to find all of the driver scripts.
  • Aliased paths need to be resolved to real filepaths during the search

Keywords

FAQs

Last updated on 09 Mar 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc