@vandeurenglenn/pubsub-text

Simple data bindings without the need of big frameworks

Usage no npm install needed!

<script type="module">
  import vandeurenglennPubsubText from 'https://cdn.skypack.dev/@vandeurenglenn/pubsub-text';
</script>

README

<pubsub-text>

standard-readme compliant

Simple data bindings without the need of big frameworks.

Table of Contents

Install

npm i --save pubsub-text

Usage

<pubsub-text event="data.user.balance">User Balance:</pubsub-text>

<script type="module">
  import './node_modules/pubsub-text/src/text.js'
  
  pubSub.publish('data.user.balance', 0)
</script>

Maintainers

@vandeurenglenn

Contributing

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2020 Vandeuren Glenn