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

browsedown

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browsedown

Browser implementation of level-down, using Indexdb-wrapper

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

BrowseDown

BrowseDown is an browser-based alternative to level-down, which can be used as a backend for level-up, thus allowing you to use the same storage in node, browser, react-native, and mongodb.

There is another an in-browser implementation of this called level.js, which this is heavily inspired on. Unfortunately, it seems to be unmaintained and is no longer compatible with level-up.

This version is also writen on top of the useful IDBWrapper library, and I was inspired by their karma tests. I wrote the BrowseDown in Typescript and transpiled it to Javascript for npm. I also imported the entire test suite from abstract-leveldown and run them in with karma and tape in the browser.

This is tested with new versions of Firefox and Chrome on OSX and Linux. I am happy for any more testing.

Usage

To add it to your project, just:

npm install browsedown

Then use it like this:

import {browsedown} from 'browsedown';
import levelup from 'levelup';

const db = levelup(browsedown('idb-store-name'));

Dev Commands

yarn install
yarn test
yarn build

FAQs

Package last updated on 03 Sep 2018

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