Catalog npm
PACKAGE EXPLORERView in registry

1way

npm

A 1way flux-esk binding library. Like react hooks but without the react.

bindinghooksone wayreacttwo way
Versions collected1
Direct dependencies1From release 0.0.2
Last observed20 Oct, 18:41 UTC

README

Current package documentation

1way

A 1way flux-esk state library. Like react-hooks but without the react.

Installation

$ npm install --save 1way

Documentation

1way is a really simple library at this point. It was inspired by the way angular and react are binding JavaScript variables within HTML.

Why?

Back in the days, angular got really popular for a feature called "two-way-binding" (I believe Backbone introduced it first). It allowed a web developer to bind a dom element directly to a variable defined in JavaScript.

Immediately, everybody got exited and used two-way-binding extensively. Until they noticed that in large applications it's not that great.

Along came react and innovated on the binding part by introducing the Flux architecture, which among other things, suggested a one way data flow.

Now, it seems two way data flows are getting back in fashion.

<script>
  let name = 'world';
</script>

<h1>Hello {name}!</h1>
<input type="text" bind:value={name} />

(Run this code here.)

But additionally, we're now inventing languages, not frameworks. It's great for moving standards forward. But since no winner seems to have emerged yet, it may be more effective simply sticking to HTML5. Which is, after all, pretty neat too now!

Using 1way in your app

Check out index.html for an example of how to use 1way.

Demo

Checkout a demo here.

Changelog

0.0.2

  • Implement integrate functionality

0.0.1

  • Initial release

Resources:

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.2Registry latest5 Jun 20201

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

ACCESSIBLE
timdaub/1way

Shared repository data · GitHub

License detected in repository
Not collected
Last push
12 Dec 2020
Archived
Yes
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

0count
Gauge · observed snapshots21 Oct 2026
10.50
2026-10-21: 0 · observed 2026-10-21T20:01:34.6045655Z
21 Oct21 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2102026-10-21T20:01:34.6045655Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:41 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:587a122f7db7969c82a4de3a082e2573a4f8c7391f6f67b0fc82984f99c833b9