New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sbp/okturtles.data

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sbp/okturtles.data

Provides a useful in-memory datastore for SBP

  • 0.1.0
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by400%
Maintainers
1
Weekly downloads
 
Created
Source

okTurtles.data

Creates an in-memory key-value datastore for SBP.

Offers basic set/get/delete actions, and a more interesting /apply selector that can be used where normally an instance from OOP would be used.

See index.test.js for usage examples.

Install:

$ npm install --save @sbp/okturtles.data

Usage:

import sbp from '@sbp/sbp'
import '@sbp/okturtles.data'

// now you can use any of the okTurtles.data selectors
// note: you only need to import '@sbp/okturtles.data' once!

Registers the following selectors. Self-explanatory except for /apply:

  • 'okTurtles.data/get'
  • 'okTurtles.data/set'
  • 'okTurtles.data/delete'
  • 'okTurtles.data/add'
  • 'okTurtles.data/remove'
  • 'okTurtles.data/apply' - applies a function to the value of a given key.

History

See HISTORY.md.

License

MIT.

FAQs

Package last updated on 04 Feb 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