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

@osohq/node

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@osohq/node

The Base Oso SDK provides helpers for interacting with Oso Cloud. If you are using a web framework, we recommend using the integration specific to that web framework.

  • 0.3.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

Base Oso SDK

The Base Oso SDK provides helpers for interacting with Oso Cloud. If you are using a web framework, we recommend using the integration specific to that web framework.

Please Note: The SDK is currently released as a developer preview. Do not use this SDK for production workloads.

Install

npm install --save @osohq/node
yarn add @osohq/node

Usage

The Oso SDK should be initialized as early as possible in the main entry module.

import { init } from '@osohq/node';

init({
    apiKey: 'YOUR_API_KEY',
    // ...
})

After the Oso SDK is initialized, you may access it by calling globalOso():

import { globalOso } from '@osohq/node';

oso = globalOso();

The Oso SDK may be further configured by setting relevant fields in the ConfigOptions object passed on init.

FAQs

Package last updated on 27 Apr 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