2.9.1 • Published 2 years ago

hypns-svelte-component v2.9.1

Weekly downloads
9
License
MIT
Repository
github
Last release
2 years ago

HyPNS Svelte Component

Versions

'>= 2.80 Supports HyPNS v2.0'

'< 2.8.0 Supports HyPNS v1.0'

An open/close wrapper for HyPNS

npm i hypns-svelte-component

HyPNS uses @corestore/networker which has networking that needs to opened and closed intelligently.

When using HyPNS, you need to remember to

await HyPNS.close() // remembering things sucks, there's a better way! Let's use the computer

Instead of pushing this obligation out into userland, this handy little Svelte component wraps HyPNS with listeners that activate if:

Notes

The "svelte" entry in package.json needs to be empty for this to work. Otherwise things break...

TODO: Config the rollup to bundle alright even if "svelte" field is included.

2.9.0

2 years ago

2.9.1

2 years ago

2.8.7

3 years ago

2.8.6

3 years ago

2.8.8

3 years ago

2.8.4

3 years ago

2.8.2

3 years ago

2.7.1

3 years ago

2.6.9

3 years ago

2.6.8

3 years ago

2.6.7

3 years ago

2.6.6

3 years ago

2.6.5

3 years ago

2.6.4

3 years ago

2.6.3

3 years ago

2.6.2

3 years ago

2.6.1

3 years ago

2.6.0

3 years ago

2.5.9

3 years ago

2.5.8

3 years ago

2.5.7

3 years ago

2.5.5

3 years ago

2.5.4

3 years ago

2.5.1

3 years ago

2.5.0

3 years ago

2.1.2

4 years ago