Socket
Socket
Sign inDemoInstall

ember-cli-moment-shim

Package Overview
Dependencies
5
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ember-cli-moment-shim

Brings moment and moment-timezone into your Ember applications


Version published
Weekly downloads
48K
increased by3.05%
Maintainers
1
Install size
21.3 MB
Created
Weekly downloads
 

Readme

Source

ember-cli-moment-shim

Build Status

ES6 accessible module for momentjs within your Ember applications.

Usage

  • ember-cli < 0.2.3 ember install:addon ember-cli-moment-shim
  • ember-cli >= 0.2.3 ember install ember-cli-moment-shim
import moment from 'moment';

Enabling moment-timezone

// config.environment.js
module.exports = function(environment) {
  var ENV = {
    moment: {
      // Options:
      // 'all' - all years, all timezones
      // '2010-2020' - 2010-2020, all timezones
      // 'none' - no data, just timezone API
      includeTimezone: 'all'
    }
    return ENV;
  };

License

ember-cli-moment-shim shims is MIT Licensed.

Keywords

FAQs

Last updated on 18 Jul 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc