
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
github.com/ereminiu/autocomplete
REST API for autocomplete system aka "Top K(5) most searched queries" via Trie datastructure to get most popular queries. Server is running on port 6000 by default.
[POST] /search?q=kat&add=false
The "add" param is using only at the end of the search query to insert into database one.
Response:
{
"requests": [
"kate",
"katrina",
"katie",
"kathy",
"kathleen"
]
}
[POST] /rebuild is using to rebuild trie with queries and their frequencies from database.
Response:
{
"message": "Trie has been reinited from database"
}
FAQs
Unknown package
Did you know?
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.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.