
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/quells/shakespeare-autocomplete
Search through the collected works of Shakespeare (or any other large file).
Results are ordered by frequency and limited to the top 25 matches.
Non-word entities (like numbers) are ignored, although edge cases such as roman numerals are not.
Build web server:
$ go build ./cmd/auto
Run web server:
$ ./auto shakespeare.txt
Query web server:
$ curl 'http://localhost:5000/autocomplete?term=ha'
have
hath
had
hand
hast
has
ham
hands
hang
half
ha
happy
hard
hate
haste
having
hastings
hark
hair
hamlet
harry
hadst
harm
hail
happiness
See the documents in artifacts
for example results for various queries.
If you run the executable from this directory, you can visit http://localhost:5000 to see a minimal website consuming this API.
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.