New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

underscore.get

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

underscore.get

get data with dot notation

latest
Source
npmnpm
Version
0.2.9
Version published
Weekly downloads
415
85.27%
Maintainers
1
Weekly downloads
 
Created
Source

##Underscore.get

Usage

For Node.js, Browserify and Webpack

Install from npm

npm install underscore.get

Require individual functions

const {get} = require("underscore.get");

get(obj, 'a[0].b', defaultValue);

Or use Mixin

const getMixin = require("underscore.get");
_.mixin(getMixin);
_.get(obj, 'a[0].b', defaultValue);

##Don't forget to star the github repository!

Keywords

underscore

FAQs

Package last updated on 24 Jan 2018

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