Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fission-codes/homestar

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fission-codes/homestar

Homestart Client.

  • 0.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

Homestar

npm (scoped) GitHub Workflow Status (with event) Built by FISSION Discord Discourse users

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,
  }),
})

const { error, result } = await hs.metrics()
if (error) {
  console.error(error)
}

hs.close()

Docs

Check https://fission-codes.github.io/stack

TODO

/// Subscribe to network events.
#[cfg(feature = "websocket-notify")]
pub(crate) const SUBSCRIBE_NETWORK_EVENTS_ENDPOINT: &str = "subscribe_network_events";
/// Unsubscribe from network events.
#[cfg(feature = "websocket-notify")]
pub(crate) const UNSUBSCRIBE_NETWORK_EVENTS_ENDPOINT: &str = "unsubscribe_network_events";


package homestar-functions:test

world test {
  export add-one: func(a: s32) -> s32
  export append-string: func(a: string) -> string
  export join-strings: func(a: string, b: string) -> string
  export transpose: func(matrix: list<list<u16>>) -> list<list<u16>>
  export blur: func(data: list<u8>, sigma: float32) -> list<u8>
  export blur-base64: func(data: string, sigma: float32) -> list<u8>
  export crop: func(data: list<u8>, x: u32, y: u32, target-width: u32, target-height: u32) -> list<u8>
  export crop-base64: func(data: string, x: u32, y: u32, target-width: u32, target-height: u32) -> list<u8>
  export grayscale: func(data: list<u8>) -> list<u8>
  export grayscale-base64: func(data: string) -> list<u8>
  export rotate90: func(data: list<u8>) -> list<u8>
  export rotate90-base64: func(data: string) -> list<u8>
}

Contributing

Read contributing guidelines here.

Open in GitHub Codespaces

License

This project is licensed under either of

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.

FAQs

Package last updated on 09 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc