
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
microfrontier
Advanced tools
A web crawler frontier implementation in TypeScript backed by Redis. MicroFrontier is a scalable and distributed frontier implemented through Redis Queues.
A web crawler frontier implementation in TypeScript backed by Redis. MicroFrontier is a scalable and distributed frontier implemented through Redis Queues.
Example of Mercator Frontier1

MicroFrontier can be used both as a Javascript library SDK, from the command line or with a Docker deploy.
Install microfrontier with:
npm i -g microfrontier
Run microfrontier
microfrontier --port 3035 --redis:host localhost #see configuration for other parameters
Npm:
npm i microfrontier
Yarn:
yarn add microfrontier
docker pull adileo/microfrontier
| ENV VAR | CLI PARAMS | Description |
|---|---|---|
| host | --host | Host name to start the microservice http server. Default value: 127.0.0.1 |
| port | --port | Port to start the microservice http server. Default value: 8090 |
| redis_host | --redis:host | Redis server host. Default value: 127.0.0.1 |
| redis_port | --redis:port | Redis server port. Default value: 6379 |
| redis_* | --redis:* | Parameters are interpreted by nconf and passed to ioredis as the client config. |
| config_frontierName | --config:frontierName | Prefix used for Redis keys. |
| config_* | --config:* | Parameters are interpreted by nconf, default value below. |
{
frontierName: 'frontier',
priorities: {
'high': {probability: 0.6},
'normal': {probability: 0.3},
'low': {probability: 0.1},
},
defaultCrawlDelay: 1000
}
Via HTTP
curl --location --request POST 'http://127.0.0.1:8090/frontier' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "http://www.example.com",
"priority": "normal",
"meta": {
"foo": "bar"
}
}'
Via SDK
import { URLFrontier } from "microfrontier"
const frontier = new URLFrontier(config)
frontier.add("http://www.example.com", "normal", {"foo": "bar"}).then(() => {
console.log('URL added')
})
curl --location --request GET 'http://127.0.0.1:8090/frontier'
import { URLFrontier } from "microfrontier"
const frontier = new URLFrontier(config)
frontier.get().then((item) => {
// {url: "http://www.example.com", meta: {"foo":"bar"}}
})
[1]: High-Performance Web Crawling - Marc Najork, Allan Heydon
FAQs
A web crawler frontier implementation in TypeScript backed by Redis. MicroFrontier is a scalable and distributed frontier implemented through Redis Queues.
We found that microfrontier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.