Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-lodash

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-lodash

Lodash in ES6 for Ember.js apps

  • 4.19.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12K
increased by19.58%
Maintainers
3
Weekly downloads
 
Created
Source

ember-lodash

Greenkeeper badge

Build Status Dependency Status devDependency Status Ember Observer Score npm version Code Climate

This ember addon allows consumption of the lodash library (its ES6 module variant) in ember-cli apps.

Use

First you install this addon

# ember-cli > 0.2.3
ember install ember-lodash
# ember-cli <= 0.2.3
ember install:addon ember-lodash

And then in your ember.js app, you can import individual lodash modules freely

import _string from 'lodash/string';

let truncatedString = _string.trunc(rawString);

Additionally, if you wish to work with the entire lodash library on a single namespace, you have the option of importing that as well

import _ from 'lodash';

let truncatedString = _.trunc(rawString);

It is also possible to import individual modules

import { trunc } from 'lodash';

let truncatedString = trunc(rawString);

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Analytics

Keywords

FAQs

Package last updated on 12 Nov 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

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