nostrefresh

0.0.7 • Public • Published

Nostrefresh

Simple refresh function for nostr web pages

Getting Started


GitHub license npm npm Github Stars

⚡️ Features

  ✓  Connect to nostr relay
  ✓  Refresh page on update
  ✓  Relay and refresh time configurable from query string

✍️ Getting Started


Import to web page

import 'https://cdn.skypack.dev/nostrefresh'

How it works

The code will check two parameters in the query string

  • relay
  • t

The relay is a nostr relay, t is the time in seconds, with default - 5


⚖️ License

This project is under the MIT License. See the LICENSE file for the full license text.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.7
    2
    • latest

Version History

Package Sidebar

Install

npm i nostrefresh

Weekly Downloads

6

Version

0.0.7

License

MIT

Unpacked Size

4.09 kB

Total Files

4

Last publish

Collaborators

  • melvincarvalho