npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ember-cli-utilities

v4.0.1

Published

Utility Components / Services / Mixins for Ember

Downloads

35

Readme

Dependency Status DevDependency Status Dependabot Github Workflow Coverage Status Ember Observer Score NPM Version NPM Downloads

ember-cli-utilities

Multiple Utility Services / Mixins to use in your ember application

DEMO

Compatibility

  • Ember.js v2.18 or above
  • Ember CLI v2.13 or above

Installation

ember install ember-cli-utilities

Usage

Addons

  • Dependencies
		"@glimmer/component": "1.0.0",
		"@glimmer/tracking": "1.0.0",
		"@orbit/data": "0.16.5",
		"@orbit/indexeddb": "0.16.5",
		"@orbit/indexeddb-bucket": "0.16.3",
		"@orbit/jsonapi": "0.16.5",
		"@orbit/local-storage": "0.16.5",
		"@orbit/local-storage-bucket": "0.16.3",
		"animate.css": "3.7.2",
		"ember-api-actions": "0.2.8",
		"ember-auto-import": "1.5.3",
		"ember-cli-babel": "7.18.0",
		"ember-cli-build-notifications": "0.4.0",
		"ember-cli-fastclick": "1.5.0",
		"ember-cli-htmlbars": "4.2.3",
		"ember-cli-moment-shim": "3.7.1",
		"ember-cli-notifications": "6.2.0",
		"ember-cli-pushjs": "2.0.8",
		"ember-cli-roboto-fontface": "2.0.5",
		"ember-cli-sass": "10.0.1",
		"ember-hammertime": "1.6.0",
		"ember-material-design-icons-shim": "0.1.13",
		"ember-moment": "8.0.0",
		"ember-offline": "devotox/ember-offline",
		"ember-orbit": "0.16.6",
		"ember-reactive-helpers": "devotox/ember-reactive-helpers",
		"ember-simple-auth": "3.0.0",
		"ember-skeleton": "devotox/ember-skeleton",
		"ember-string-helpers": "devotox/ember-string-helpers",
		"fast-sort": "2.1.1",
		"flatted": "2.0.1",
		"json-fn": "1.1.1",
		"moment": "2.24.0",
		"moment-timezone": "0.5.28",
		"normalize.css": "8.0.1",
		"sass": "1.26.3"

Components

  • notification-container
    • To be used with notification service to warn, alert, error notifications
  • loading-mask
    • Added anywhere as a contextual component, sets a loading mask for the whole viewport that also yields the hide, show, loading actions

Services

  • api
    • generic api connector to run all HTTP methods using ember-fetch
  • alpha-iterator
    • iterate through alphabet
  • crypto
    • set of useable crypto functions
  • device
    • set of functions to determine current device
  • ember-utils
    • utility functions combining ember functions
  • data-store
    • Ember Orbit Store with some wrappers for background reload
  • fastboot-store
    • easier to use FastBoot store functions
  • geometry
    • Geometry calculations to use with maps
  • logger
    • Ember logger with interface to state where logs coming from
  • loading-mask
    • works in tandem with loading mask component for programmatic access
  • navigation
    • navigation shell
  • notification
    • notification hub / notification center mashup
  • regex
    • set of useful regex
  • sandbox
    • run custom code in a sandbox without access to globals you do not specify
  • string-builder
    • Build strings efficiently
  • translation
    • fetch translations
  • utils
    • utility functions

Helpers

  • disable-bubbling
    • Disable bubbling of closure actions
  • json-parse
    • Parse JSON string

Initializers

  • component-router
    • injects router main into components
  • session-injection
    • injects session service into routes, controllers, components
  • orbit-main-bucket
    • initializes ember orbit bucket

Instance Initializers

  • intl
    • initializes the instance with the accurate language based on a query string or the system language

Transforms

  • array
    • transform for arrays for models
  • object
    • transform for objects for models
  • pg-date
    • transforms for postgres dates for models
  • uuid
    • transforms for uuids for models

Orbit JS

  • Has everything needed to have memory + backup + remote secenario

Defaults

  • ember-fetch
    • preferNative: true
  • ember-paper
    • insertFontLinks: false
  • ember-cli-mirage
    • enabled: false
  • ember-cli-head
    • suppressBrowserRender: false
  • ember-cli-notifications
    • includeFontAwesome: false
    • clearDuration: 3500
    • autoClear: true
  • ember-load-css
    • enabled: true
    • minifyJS:
      • enabled: true
  • ember-hammertime
    • touchActionSelectors: ['button', 'input', 'a', 'textarea']
    • touchActionProperties: 'touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;'
  • ember-offline
    • themes
      • theme: chrome
      • language: english
    • checkOnLoad: true
    • interceptRequests: true
    • requests: true
    • deDupBody: true
    • game: false
    • checks:
      • xhr:
        • url: 'api/status'
    • reconnect
      • initalDelay: 10
      • delay: null
  • moment
    • allowEmpty: true,
    • outputFormat: 'L',
    • includeLocales: ['en'],
    • includeTimezone: 'subset'
  • pace
    • color: blue
    • target: body
    • theme: minimal
    • minTime: 100
    • ghostTime: 50
    • catchupTime: 50
    • easeFactor: 1.25
    • initialRate: 0.01
    • startOnPageLoad: true
    • maxProgressPerFrame: 20
    • restartOnPushState: true
    • restartOnRequestAfter: 500
    • elements:
      • checkInterval: 100
      • selectors: ['body', '.ember-view']
    • eventLag:
      • minSamples: 10
      • sampleCount: 3
      • lagThreshold: 3
    • ajax:
      • trackMethods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE']
      • trackWebSockets: false
      • ignoreUrls: []

See the Contributing guide for details.

License

This project is licensed under the MIT License.