component-props

1.1.1 • Public • Published

props

Parse immediate identifiers from a js expression. Built for the Reactive template engine.

Installation

$ component install component/props

Example

~ret.indexOf(arr[i])
=> ret arr i

name.first + name.last
=> name

file.mime.split("/")
=> file

file.type + " " + classes().join(" ")
=> file

License

MIT

Package Sidebar

Install

npm i component-props

Weekly Downloads

129,342

Version

1.1.1

License

none

Last publish

Collaborators

  • defunctzombie
  • dfcreative
  • tootallnate
  • tjholowaychuk
  • rauchg
  • retrofox
  • coreh
  • forbeslindesay
  • kelonye
  • mattmueller
  • yields
  • anthonyshort
  • jongleberry
  • ianstormtaylor
  • cristiandouce
  • swatinem
  • stagas
  • amasad
  • juliangruber
  • calvinfo
  • dominicbarnes
  • timoxley
  • jonathanong
  • queckezz
  • nami-doc
  • clintwood
  • thehydroimpulse
  • stephenmathieson
  • trevorgerhardt
  • timaschew
  • hughsk