npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@molecule/app-locales-legal-default

v1.0.2

Published

Default privacy policy + terms of service HTML content in 74 languages, with {{appName}} interpolation. Replaces per-app locales/<lang>/privacyPolicy.ts and termsOfService.ts files that ship byte-identical across the fleet.

Readme

@molecule/app-locales-legal-default

Auto-generated, AI-first package reference for the molecule.dev ecosystem. It is written to be read by coding agents as much as by people, and is generated from this package's source — edit src/index.ts JSDoc, not this file.

@molecule/app-locales-legal-default — shared privacy/terms HTML in 74 languages.

Provides default privacy policy + terms of service content for the footer modals. Identical across all 133 fleet apps prior to extraction, with {{appName}} placeholders interpolated by the i18n provider.

Quick Start

import * as legal from '@molecule/app-locales-legal-default'

// legal.en === { 'content.privacyPolicy': '...', 'content.termsOfService': '...' }

Type

feature

Installation

npm install @molecule/app-locales-legal-default @molecule/app-i18n

API

Interfaces

LegalContent

Default legal content shipped by the molecule fleet — privacy policy and terms of service.

Values are raw HTML strings that get rendered via dangerouslySetInnerHTML inside the Footer's Privacy and Terms modals. {{appName}} placeholders are interpolated at render time by the i18n provider.

interface LegalContent {
  /** Privacy policy HTML (interpolates `{{appName}}`). */
  'content.privacyPolicy': string
  /** Terms of service HTML (interpolates `{{appName}}`). */
  'content.termsOfService': string
}

Functions

loadContent(module)

Register a legal-content module (privacyPolicy or termsOfService) and sync the current locale's content into the i18n provider. Content comes from this package's per-locale exports; future locale changes re-fetch automatically via registerContent.

function loadContent(module: string): Promise<void>

Constants

af

Legal content for af.

const af: LegalContent

am

Legal content for am.

const am: LegalContent

ar

Legal content for ar.

const ar: LegalContent

az

Legal content for az.

const az: LegalContent

bg

Legal content for bg.

const bg: LegalContent

bn

Legal content for bn.

const bn: LegalContent

bs

Legal content for bs.

const bs: LegalContent

ca

Legal content for ca.

const ca: LegalContent

cs

Legal content for cs.

const cs: LegalContent

cy

Legal content for cy.

const cy: LegalContent

da

Legal content for da.

const da: LegalContent

de

Legal content for de.

const de: LegalContent

el

Legal content for el.

const el: LegalContent

en

Legal content for en.

const en: LegalContent

es

Legal content for es.

const es: LegalContent

et

Legal content for et.

const et: LegalContent

eu

Legal content for eu.

const eu: LegalContent

fa

Legal content for fa.

const fa: LegalContent

fi

Legal content for fi.

const fi: LegalContent

fil

Legal content for fil.

const fil: LegalContent

fr

Legal content for fr.

const fr: LegalContent

ga

Legal content for ga.

const ga: LegalContent

gl

Legal content for gl.

const gl: LegalContent

gu

Legal content for gu.

const gu: LegalContent

he

Legal content for he.

const he: LegalContent

hi

Legal content for hi.

const hi: LegalContent

hr

Legal content for hr.

const hr: LegalContent

hu

Legal content for hu.

const hu: LegalContent

hy

Legal content for hy.

const hy: LegalContent

id

Legal content for id.

const id: LegalContent

is

Legal content for is.

const is: LegalContent

it

Legal content for it.

const it: LegalContent

ja

Legal content for ja.

const ja: LegalContent

ka

Legal content for ka.

const ka: LegalContent

kk

Legal content for kk.

const kk: LegalContent

km

Legal content for km.

const km: LegalContent

kn

Legal content for kn.

const kn: LegalContent

ko

Legal content for ko.

const ko: LegalContent

lo

Legal content for lo.

const lo: LegalContent

lt

Legal content for lt.

const lt: LegalContent

lv

Legal content for lv.

const lv: LegalContent

mk

Legal content for mk.

const mk: LegalContent

ml

Legal content for ml.

const ml: LegalContent

mn

Legal content for mn.

const mn: LegalContent

mr

Legal content for mr.

const mr: LegalContent

ms

Legal content for ms.

const ms: LegalContent

mt

Legal content for mt.

const mt: LegalContent

my

Legal content for my.

const my: LegalContent

nb

Legal content for nb.

const nb: LegalContent

ne

Legal content for ne.

const ne: LegalContent

nl

Legal content for nl.

const nl: LegalContent

pa

Legal content for pa.

const pa: LegalContent

pl

Legal content for pl.

const pl: LegalContent

pt

Legal content for pt.

const pt: LegalContent

ro

Legal content for ro.

const ro: LegalContent

ru

Legal content for ru.

const ru: LegalContent

si

Legal content for si.

const si: LegalContent

sk

Legal content for sk.

const sk: LegalContent

sl

Legal content for sl.

const sl: LegalContent

sq

Legal content for sq.

const sq: LegalContent

sr

Legal content for sr.

const sr: LegalContent

sv

Legal content for sv.

const sv: LegalContent

sw

Legal content for sw.

const sw: LegalContent

ta

Legal content for ta.

const ta: LegalContent

te

Legal content for te.

const te: LegalContent

th

Legal content for th.

const th: LegalContent

tr

Legal content for tr.

const tr: LegalContent

uk

Legal content for uk.

const uk: LegalContent

ur

Legal content for ur.

const ur: LegalContent

uz

Legal content for uz.

const uz: LegalContent

vi

Legal content for vi.

const vi: LegalContent

zh

Legal content for zh.

const zh: LegalContent

zhTW

Legal content for zh-TW.

const zhTW: LegalContent

zu

Legal content for zu.

const zu: LegalContent

Injection Notes

Requirements

Peer dependencies:

  • @molecule/app-i18n ^1.0.1

Runtime Dependencies

  • @molecule/app-i18n