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

libkernel

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libkernel

helper library to interact with skynet and the skynet kernel

  • 0.0.69
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by1000%
Maintainers
1
Weekly downloads
 
Created
Source

libkernel

libkernel is a node module for web developers that would like to use the Skynet kernel in their applications, or would like to build modules for the Skynet kernel. It contains a bunch of helper functions and syntax sugar for interacting with the kernel itself, and it also contains a bunch of functions for dealing with Skynet objects such as skylinks.

libkernel for the time being should be considered highly unstable - there is ongoing discussion about whether the scope of libkernel is too broad and whether some of the Skynet related functions should be split out into their own libraries. Methods you depend on today may be gone or have altered APIs tomorrow, we hope to have libkernel in a stable place within the next 2-3 weeks.

A particular quirk of libkernel is that errors are always of the type string | null rather than being of type Error. This is because libkernel is frequently used in webworkers and other settings where errors need to be serialized and send over postMessage, and the Error type is generally not suitable for this. We therefore use strings everywhere as errors, to ensure that libkernel can be used in all relevant places.

FAQs

Package last updated on 01 May 2022

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