Hexlet tests and linter status:

Actions Status Maintainability Test Coverage Known Vulnerabilities NodeCI License: MIT

Install my package:

npm install https://github.com/gomez-git/js-algorithms-project-lvl1.git

Search engine allows to search pattern in provided docs:

import search from '@hexlet/code';

const doc1 = { id: 'doc1', text: 'hello world!' };
const doc2 = { id: 'doc2', text: 'Im simple text.' };
const doc3 = { id: 'doc3', text: 'Hello hello' };
const docs = [doc1, doc2, doc3];

search(docs, 'hello'); // ['doc1', 'doc3']