New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nucleoid

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nucleoid

Nucleoid is a Promise based process control system.

latest
Source
npmnpm
Version
1.5.9
Version published
Maintainers
1
Created
Source

logo

NPM Version

簡介 (Summary)

Nucleoid是基於Promise的一個流程控制系統,早期目的就是為了處裡server less中cloud function太難追蹤堆棧和錯誤的問題,但現在它具有一個完整的生命週期與友善的非同步操作、堆棧追蹤等,能協助各種模式。

安裝 (Install)

html

<script src="https://khc-zhihao.github.io/Nucleoid/dist/index.js"></script>

webpack

import Nucleoid from 'nucleoid'

node

npm i nucleoid

開始 (How to use?)

教學文件 (base gitbook)

const Nucleoid = require('nucleoid')
Nucleoid.createGene('my first gene', {
    templates: {
        'first template': (base, enzy, next, exit, fail) => {
            base.start = true
            next()
        },
        'next template': (base, enzy, next, exit, fail) => {
            base.next = true
            next()
        }
    }
}).transcription().then((messenger) => {
    console.log(messenger.base.start) // true
})

其他

版本日誌

開發者文件

Keywords

lambda

FAQs

Package last updated on 16 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts