0.1.3 • Published 7 months ago
@simd/search v0.1.3
@simd/search
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');