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

ember-cli-numeral

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-numeral

ES6 accessible module for Numeral.js within your Ember applications.

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

ember-cli-numeral

Build Status Ember Observer Score NPM Version Ember badge

ES6 accessible module for Numeral.js within your Ember applications.

Install

ember install ember-cli-numeral

Usage

import numeral from 'numeral';

let string = numeral(1000).format('0,0');
// '1,000'

See the Numeral.js docs for general usage.

Including Numeral.js languages

To include all the Numeral.js language definitions, you need to add the following configuration to your ember-cli-build.js.

var app = new EmberApp(defaults, {
  numeral: {
    includeLanguages: true
  }
});

The default configuration is false. So languages will not be loaded by default.

Fastboot compatibility

This addon is compatible with fastboot out of the box.

License

ember-cli-numeral shims is MIT Licensed.

Keywords

FAQs

Package last updated on 30 Oct 2016

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