@profiscience/knockout-contrib-observable-fn
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.12 • Public • Published

@profiscience/knockout-contrib-observable-fn

Version Dependency Status Peer Dependency Status Dev Dependency Status Downloads

This is a metapackage including all @profiscience/knockout-contrib-observable-fn-* packages

Extends the observable prototype. See Adding custom functions using "fn"

Contents

Usage

Importing a function will add it to the prototype of all subsequently created observables.

You may import a single function, or all of them.

// import all
import '@profiscience/knockout-contrib-observable-fn'

// import single
import '@profiscience/knockout-contrib-observable-fn/increment'

Package Sidebar

Install

npm i @profiscience/knockout-contrib-observable-fn

Weekly Downloads

2

Version

1.0.0-alpha.12

License

WTFPL

Unpacked Size

4.38 kB

Total Files

12

Last publish

Collaborators

  • dorgeron
  • barsh