0.0.8 • Published 8 years ago

yuha v0.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

build status coverage npm version

npm.io

The package is very experimental and can damage performance of your app. Work in progress.

Library of JavaScript decorators.

Example

import { chain } from 'yuha'

@chain
class Ticker {
    value = 0

    increment() {
        this.value++
    }

    decrement() {
        this.value--
    }
}

const { value } = new Ticker()
    .increment()
    .increment()
    .decrement()
    .increment()

value === 2 // true
0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago