New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-pirate

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-pirate

Provides an arr helper

  • 0.3.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
48
increased by6.67%
Maintainers
1
Weekly downloads
 
Created
Source

Ember Pirate

Build Status Ember Observer Score npm version Code Climate Dependencies

This is quite likely t' only Ember CLI addon that can work even if ye don't add it t' yer dependencies.

Ember Pirate provides an arr helper that accepts as many positional parameters as ye want and returns a collection with them all.

Installation

Ember Pirate can work even if ye do not declare it as a dependency.

Normal Installation

ember install ember-pirate

Pirate Installation

ember generate helper arr

Using Ember Twiddle

Do ye want to use Ember Pirate in yer twiddles but support for addons is not available? Good news! Ember Pirate can be used easily thar too.

Go t' Ember Twiddle, click File > Add... > Helper and change the path t' helpers/arr.js when prompted.

How to use it

{{#with (arr "Me" "Second" "grog") as |collection|}}
  {{collection.firstObject}} love {{collection.lastObject}}
{{/with}}

Produces:

Me love grog

Keywords

FAQs

Package last updated on 25 Jun 2017

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