ember-lodash
Lodash in ES6 for Ember.js apps
Last updated a year ago by mike-north-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ember-lodash 
SYNC missed versions from official npm registry.

ember-lodash

Build 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

Current Tags

  • 4.19.5                                ...           latest (a year ago)

24 Versions

  • 4.19.5                                ...           a year ago
  • 4.19.4                                ...           2 years ago
  • 4.19.3                                ...           2 years ago
  • 4.19.2                                ...           2 years ago
  • 4.19.1                                ...           2 years ago
  • 4.18.0                                ...           3 years ago
  • 4.17.6                                ...           3 years ago
  • 4.17.5                                ...           3 years ago
  • 4.17.4                                ...           3 years ago
  • 4.17.3                                ...           3 years ago
  • 4.17.2                                ...           3 years ago
  • 4.17.1                                ...           3 years ago
  • 4.17.0                                ...           4 years ago
  • 3.10.0                                ...           4 years ago
  • 0.0.11                                ...           4 years ago
  • 0.0.10                                ...           4 years ago
  • 0.0.9                                ...           4 years ago
  • 0.0.7                                ...           4 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Downloads
Today 0
This Week 2
This Month 6
Last Day 0
Last Week 61
Last Month 85
Dependencies (6)

Copyright 2014 - 2016 © taobao.org |