@simd/search

0.1.3 • Public • Published

@simd/search

downloads

version

This is a simple search package.

Usage

// TypeScript
import { search } from '@simd/search';

// JavaScript
const { search } = require('@simd/search');

const data = [
  { text: 'This is an example' },
  { text: 'example' },
  { text: 'EXAMPLES can be found here!' }
];

const results = search(data, 'text', 'Example');

Package Sidebar

Install

npm i @simd/search

Weekly Downloads

0

Version

0.1.3

License

ISC

Unpacked Size

2.63 kB

Total Files

7

Last publish

Collaborators

  • simmyd91