New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@deafwave/osrs-botmaker-config-manager

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deafwave/osrs-botmaker-config-manager

Config manager helpers for osrs-botmaker runtimes

latest
Source
npmnpm
Version
0.2.9
Version published
Maintainers
1
Created
Source

@deafwave/osrs-botmaker-config-manager

Install

pnpm add @deafwave/osrs-botmaker-config-manager

Usage

group.set('builder', 'mode', 'safe')
const mode = group.getString('builder', 'mode', 'fallback')

profile.set('builder', 'enabled', true)
profile.set('builder', 'bankitems', [1171, 1])
profile.set('builder', 'mode', 'safe')
const enabled = profile.getBoolean('builder', 'enabled', false)

const scope = createConfigScope({ group: 'builder.scope', scope: 'group' })
scope.set('runs', 7)
scope.set('drops', [526, 2])
scope.set('meta', { mode: 'safe' })

const storage: RsProfileStorage = { group: 'builder', sync: true }
setStoredString(storage, 'mode', 'safe')
const storedMode = getStoredString(storage, 'mode', 'fallback')

Generic Setter Values

group.set, profile.set, and scope.set accept any JSON-serializable value.

Accepted values include:

  • strings
  • numbers
  • booleans
  • null
  • arrays
  • plain objects

Rejected values throw TypeError("Config value must be JSON-serializable."):

  • undefined
  • functions
  • symbols
  • bigint values
  • circular / non-serializable objects

Sync Behavior

Writes do not call configManager.sendConfig() unless sync is enabled.

  • Manual sync: call sendConfig() to force sending config.

FAQs

Package last updated on 14 Feb 2026

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