2.4.0 • Published 1 month ago
@fission-codes/homestar v2.4.0
Homestar
Installation
pnpm install @fission-codes/homestar
Usage
import { Homestar } from '@fission-codes/homestar'
import { WebsocketTransport } from '@fission-codes/homestar/transports/ws.js'
// if you need isomorphic support
import { WebSocket } from 'unws'
const hs = new Homestar({
transport: new WebsocketTransport('ws://localhost:8060', {
ws: WebSocket,
}),
})
hs.on('error', (error) => {
console.error(error)
})
const { error, result } = await hs.metrics()
if (error) {
console.error(error)
}
hs.close()
Docs
Check https://fission-codes.github.io/stack
Contributing
Read contributing guidelines here.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
2.4.0
1 month ago
2.3.1
2 months ago
2.3.0
2 months ago
2.2.1
2 months ago
2.2.0
2 months ago
2.1.0
2 months ago
2.0.3
2 months ago
2.0.2
2 months ago
2.0.1
3 months ago
2.0.0
5 months ago
1.0.0
5 months ago
0.6.2
6 months ago
0.6.1
6 months ago
0.6.0
6 months ago
0.5.1
6 months ago
0.5.0
6 months ago
0.4.0
6 months ago
0.3.0
6 months ago
0.2.0
6 months ago
0.1.2
6 months ago
0.1.1
6 months ago