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

@bturkis/loremipsum

v1.0.1

Published

Developer-friendly Lorem Ipsum generator with 20+ language support

Readme

@bturkis/loremipsum

Developer-friendly Lorem Ipsum generator with 30+ language support

npm version License: MIT

Features

  • 🌍 30+ Languages - Latin, Turkish, English, German, French, Spanish, Arabic, Japanese, Chinese, and more
  • 📦 Zero Dependencies - Lightweight and fast
  • 🎯 TypeScript Support - Full type definitions included
  • 🔄 Reproducible Output - Seed support for consistent results
  • 📝 Multiple Formats - Text, HTML, Markdown, JSON

Installation

npm install @bturkis/loremipsum
# or
yarn add @bturkis/loremipsum
# or
pnpm add @bturkis/loremipsum

Quick Start

import { paragraphs, sentences, words } from '@bturkis/loremipsum';

// Generate 3 paragraphs
const text = paragraphs(3);

// Generate 5 sentences in Turkish
const turkishText = sentences(5, { locale: 'tr' });

// Generate 10 words in German
const germanWords = words(10, { locale: 'de' });

API

paragraphs(count?, options?)

Generate paragraphs of Lorem Ipsum text.

paragraphs(3, { locale: 'la', startWithLorem: true });

sentences(count?, options?)

Generate sentences.

sentences(5, { locale: 'en' });

words(count?, options?)

Generate individual words.

words(10, { locale: 'tr' });

generate(options)

Full control over generation with all format outputs.

import { generate } from '@bturkis/loremipsum';

const result = generate({
  count: 2,
  type: 'paragraph',
  format: 'json',
  locale: 'tr',
  startWithLorem: true,
  seed: 42, // For reproducible output
});

console.log(result.text);     // Plain text
console.log(result.html);     // <p>...</p>
console.log(result.markdown); // Markdown formatted
console.log(result.json);     // { paragraphs: [...] }

Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | count | number | 1 | Number of items to generate | | type | 'paragraph' | 'sentence' | 'word' | 'paragraph' | Type of content | | format | 'text' | 'html' | 'markdown' | 'json' | 'text' | Output format | | locale | string | 'la' | Language code | | startWithLorem | boolean | true | Start with "Lorem ipsum..." | | seed | number | - | Seed for reproducible output |

getAvailableLocales()

Get list of all supported languages.

import { getAvailableLocales } from '@bturkis/loremipsum';

const locales = getAvailableLocales();
// [{ code: 'la', name: 'Latin', nativeName: 'Latina' }, ...]

Available Languages

| Code | Language | Native Name | |------|----------|-------------| | la | Latin | Latina | | tr | Turkish | Türkçe | | en | English | English | | de | German | Deutsch | | fr | French | Français | | es | Spanish | Español | | it | Italian | Italiano | | pt | Portuguese | Português | | nl | Dutch | Nederlands | | pl | Polish | Polski | | ru | Russian | Русский | | ar | Arabic | العربية | | ja | Japanese | 日本語 | | zh | Chinese | 中文 | | ko | Korean | 한국어 | | ... | +15 more | ... |

CLI

Looking for command-line tool? Check out @bturkis/loremipsum-cli

npm install -g @bturkis/loremipsum-cli
lorem -p 3 -l tr

Web App

Try it online at loremipsum.neisterse.com

License

MIT © Burak Turkis