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

alodash

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

alodash

Simple promise proxy for lodash

0.2.0
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

alodash

NPM

Build Status Coverage Status

Just a tiny proxy to promise-enable loash functions

example

Simply add an a to the lodash function you want to use:


const { aget } = require('alodash');

const promise = Promise.resolve({some:{deeply:{nested:{prop:1}}}});

const value = await aget(promise, 'some.deeply.nested.prop');
console.log(value);  // 1

Any of the function parameters can be a value, a promise, or function.

Keywords

redux

FAQs

Package last updated on 21 Feb 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