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

amd-driver-scripts

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

amd-driver-scripts

Get a list of entry-point, app initialization AMD modules (i.e., driver scripts) within a directory

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

node-amd-driver-scripts

Get a list of entry-point, app initialization AMD modules (i.e., driver scripts) within a directory

npm install amd-driver-scripts

Usage

Getting a list of driver scripts:

var getDriverScripts = require('amd-driver-scripts');

getDriverScripts('./js', function (drivers) {
  console.log(drivers);
});

Checking if a particular file is a driver script:

var isDriverScript = require('amd-driver-scripts').isDriverScript;

var result = isDriverScript('./js/foobar.js');

Or via a shell command to print all driver scripts to the console.

Requires npm install -g amd-driver-scripts:

amd-driver-scripts directory

Keywords

FAQs

Package last updated on 03 Jun 2015

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