JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10216
  • Score
    100M100P100Q125370F
  • License pemrouz.mit-license.org

Package Exports

  • rijs.fn

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rijs.fn) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Ripple | Function

Coverage Status Build Status

Allows registering function resources.

ripple('component', function(){ })

If you coerce a string to be registered as a function, it will attempt to turn it into a real function first:

ripple({
  name: 'component'
, body: 'function(){ }' 
, headers: { 'content-type': 'application/javascript' }
})

typeof ripple('component') // 'function'