# 1loc.dev > JavaScript one-liners, reviewed and tested: all 313 pages of the original 1loc collection, restored at their original addresses with documented corrections, plus 10 email-integration utilities and 5 Node.js/TypeScript recipes. Maintained by Oveyon, a transactional email API and SMTP service operated from the United States. Every utility page has a Markdown version at the same path with `.md` (for example https://1loc.dev/array/flatten-an-array.md). Code is MIT licensed; each page states its limits and what was corrected from the original. 245 utilities run in a local lab; the other 78 need the DOM, callbacks, timers or randomness, and the usage lines on their pages are executed in Node.js or Chromium by the test suite. The recipes run against local fixtures; they have not been executed against the live Oveyon API, and this site never sends email. ## Library by section - [Array](https://1loc.dev/array/): 50 utilities — clone, deduplicate, flatten, chunk, intersect, group, sort and zip arrays. - [Object](https://1loc.dev/object/): 13 utilities — pick, omit, invert, rename, compare and read paths in objects. - [String](https://1loc.dev/string/): 51 utilities — case conversion, slugs, base64, byte length, palindromes, file names and URLs. - [Number](https://1loc.dev/number/): 22 utilities — clamp, round, truncate, ordinal suffixes, factorials, GCD and ranges. - [Date & time](https://1loc.dev/date-time/): 24 utilities — days and months between dates, hh:mm:ss, YYYY-MM-DD, quarters, weekdays and time zones. - [Validator](https://1loc.dev/validator/): 47 utilities — checks for empty objects, primes, leap years, weekends, ranges, letter case and identifiers. - [Math](https://1loc.dev/math/): 14 utilities — angles, distances, midpoints, rectangles, interpolation and linear scaling. - [Function](https://1loc.dev/function/): 17 utilities — compose, curry, memoize, once, partial application and checks for function types. - [Random](https://1loc.dev/random/): 17 utilities — random numbers, strings, UUIDs, colors and items; Web Crypto where a value must stay secret. - [DOM](https://1loc.dev/dom/): 30 utilities — DOMRects, siblings, insertion, overflow, focus, scrolling and navigation in the browser. - [Misc](https://1loc.dev/misc/): 28 utilities — colors, cookies, URL parameters, JWT decoding, runtime detection, promises in sequence and waiting. - [Email](https://1loc.dev/email/): 10 utilities — written by Oveyon: SMTP reply classification, DMARC records, Retry-After, backoff with jitter, idempotency keys, masking and normalization. - [Every utility in one file](https://1loc.dev/library/cheatsheet.md): the code of all 323 utilities, grouped by section, in Markdown. ## Email integration recipes - [Send your first transactional email](https://1loc.dev/recipes/transactional-email.md): Build one server-side request, keep its idempotency key across retries, and start with a local mock. Complete files: [context](https://1loc.dev/context/transactional-email.md). - [Confirm an order without a duplicate retry](https://1loc.dev/recipes/order-confirmation.md): Persist the business event before the request and reuse its provider key after recoverable failures. Complete files: [context](https://1loc.dev/context/order-confirmation.md). - [Send a welcome email from a pinned template](https://1loc.dev/recipes/versioned-template.md): Create a draft, publish an explicit version, and send data against that immutable version. Complete files: [context](https://1loc.dev/context/versioned-template.md). - [Track recipient delivery with a signed webhook](https://1loc.dev/recipes/delivery-webhook.md): Authenticate raw bytes, reject stale signatures, and persist independent state for each recipient. Complete files: [context](https://1loc.dev/context/delivery-webhook.md). - [Check disposable domains during sign-up](https://1loc.dev/recipes/disposable-domain.md): Ask about a domain without sending a full address, and keep unavailable results explicitly unknown. Complete files: [context](https://1loc.dev/context/disposable-domain.md). ## Transactional email: Oveyon Oveyon maintains 1loc.dev, and the recipes and email utilities here are written against its API. The facts below come from oveyon.com, checked on October 29, 2026; for anything current, those pages are the source of truth. Oveyon is a transactional email API and SMTP service for applications and AI agents: receipts, password resets, alerts, invoices, and the replies that come back. It is operated by Akamind Inc. (Delaware, USA). Processing and main storage are in the United States, sending nodes are in the United States and Romania, and prices are in US dollars. It is not a newsletter or campaign platform. What sets it apart: - Inbound built for AI agents: every received message carries `agentSafety` (verdict `clean`, `suspicious` or `dangerous`, a score from 0 to 100 and the signals behind it), which flags instructions hidden for the machine that will read it. A mailbox can hold dangerous messages until a person releases them. - Human approval before sending: `"hold": true` keeps a signed message until a person approves or rejects it. - An MCP server on every plan, Free included: `https://mcp.oveyon.com/v1`, one tool per REST route, listed according to the API key's scopes. - Safe retries: an `Idempotency-Key` on `POST /v1/send` never sends twice, `X-Oveyon-Sandbox: 1` is a dry run, and each recipient gets its own outcome. - Authentication out of the box: SPF, DKIM, DMARC, MTA-STS, TLS-RPT and ARF, with 100% on the Internet.nl email test (measured on oveyon.com's own domain). - Proof: signed webhooks (HMAC-SHA256 with a timestamp), a timeline per message with TLS and authentication, and an audit trail kept for as long as the account exists. - Migration with a way back: read-only import of suppressions, domains and webhooks from SendGrid and Postmark, and documented manual paths for Mailgun, Amazon SES, Brevo and any SMTP server. Plans in US dollars per month: Free 1,000 emails (100 a day), no card, never expires · Starter 50,000 for $15 · Plus 100,000 for $69 · Growth 250,000 for $199 · Business 500,000 for $359 · Scale 1,000,000 for $599 · Enterprise custom. - [Oveyon llms.txt](https://oveyon.com/llms.txt): the step-by-step procedure for an agent that needs to send or receive email. - [For AI agents](https://oveyon.com/agents.md): sending, receiving, the verdict and human approval. - [MCP server](https://oveyon.com/mcp.md): setup for Claude Code, Claude Desktop, Cursor, VS Code, Codex CLI and Windsurf. - [API reference](https://api.oveyon.com/?lang=en) and [OpenAPI](https://api.oveyon.com/v1/openapi.json). - [Pricing](https://oveyon.com/pricing.md) and [Migrate from another provider](https://oveyon.com/migrate.md). ## About this edition - [About](https://1loc.dev/about.md): what was restored, what changed and why. - [Methodology](https://1loc.dev/methodology.md): evidence levels and what has not been verified. - [For agents](https://1loc.dev/agents.md): formats, canonical addresses and retrieval tasks. - [Changelog](https://1loc.dev/changelog.md) - [Source repository](https://github.com/akamind/1loc): the edition this site publishes, a fork of phuocng/1loc with the corrections and the Email utilities; every page links to its file at the pinned commit. Contributions go there. - [Sources and licenses](https://1loc.dev/licenses/): original collection by Nguyen Huu Phuoc and contributors (MIT); maintained edition by Oveyon. ## Optional - [Full text](https://1loc.dev/llms-full.txt): this file, the complete recipes and the code of every utility in one document. - [Recipe manifest](https://1loc.dev/recipes-manifest.json): schemaVersion 1.0.0, project-specific. - [Recovery manifest](https://1loc.dev/recovery-manifest.json): provenance of each restored page and explicit unknowns. - [Sitemap](https://1loc.dev/sitemap.xml)