popx-stdlib

0.2.0 • Public • Published

Popx standard libray

Collection of standard JS code modules to be included in popx declarative modules.

dom

  • textInput
    • attaches to text input element to provide value and emit events
    • value inputs
      • selector: CSS selector for input element
    • value outputs
      • text: element value
    • event outputs
      • changed element value

utils

  • log

    • each pin input creates a timestamped line with pin name and value
    • event inputs
      • *** input: any number of input pins that create log lines
    • value inputs
      • console boolean input: send log to stdout (default:true)
      • path optional output file path
  • constant

    • usually generated automatically by popx compiler
    • state
      • the constant value
    • value outputs
      • out a constant value set once at startup

Package Sidebar

Install

npm i popx-stdlib

Weekly Downloads

4

Version

0.2.0

License

MIT

Last publish

Collaborators

  • mchahn