0.0.8 • Published 7 years ago

yuha v0.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago