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

@remusao/trie

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remusao/trie

A tiny trie implementation

  • 1.4.1-canary.248.f3df6aa7ab7c7c289570786b80e41617052a9ca5.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

@remusao/trie

A tiny but fast trie implementation for ASCII strings

Usage

const { create, lookup } = require('@remusao/trie');
const trie = create([
    'foo',
    'bar',
]);

lookup(trie, 'foo'); // true
lookup(trie, 'bar'); // true
lookup(trie, 'baz'); // false

FAQs

Package last updated on 07 Aug 2020

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