Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

lodash-inspect

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

lodash-inspect

Inspects a piece of javascript source code or AST to guess the required lodash features

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

lodash-inspect

Inspects a piece of javascript source code or AST and "guesses" the required lodash features

Installation

npm install -g lodash-inspect

Usage with lodash-cli

$ lodash legacy include=$(lodash-inspect assets/js/app.js)

API usage

var fs = require('fs');
var inspect = require('lodash-inspect');
var acorn = require('acorn');

console.log(inspect(acorn.parse(fs.readFileSync('assets/js/app.js', 'utf8'))));

Development

Clone, install dependencies and re-test whenever some file is modified:

git clone git://github.com/tarruda/lodash-inspect.git
cd lodash-inspect
npm install
grunt

FAQs

Package last updated on 20 Sep 2013

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