-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
15 lines (15 loc) · 725 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"name": "binary-search-in-file",
"version": "1.0.0",
"description": "How to find string in a big-sized file Original source: https://github.com/koorchik/jabascript-materials/tree/main/inverted-index # How it works 1. Run map.js to create file with key-value pairs - node map.js >./pairs.data (add file path inside map.js) 2. Sort the file - sort -k1,1 ./pairs.data >./sorted.data (add file path inside sort command) 3. Run index.js to find the key - node index.js (add string key inside index.js)",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}