Noiseless Peaceful Morning

    opai

    0.0.2 • Public • Published

    a simple event dispatcher lib

    usage

    yarn add opai
    
     
    import opai from "opai"
     
     
    class Test {
        constructor(){
            this.opai = new opai(this)
        }
    }
     
    let test = new Test()
     
    test.E.a && test.E.a.push(v => console.log(v))
     
    test.E.a = 100
     
     
     
     

    Keywords

    none

    Install

    npm i opai

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • vaiii
    • koishi