Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

tiny-lorem

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-lorem

A library of modern JavaScript tools for generating mock data. 0 dependencies

latest
Source
npmnpm
Version
0.1.9
Version published
Maintainers
0
Created
Source
logo

tiny-lorem

A modern JavaScript tool library for generating simulation data. Has perfect type hinting. Can be used in browser and node.

English | 简体中文

codecov npm bundle size npm NPM

Installation

pnpm

pnpm add tiny-lorem

yarn

yarn install tiny-lorem

npm

npm install tiny-lorem

Usage

ESM(ESModule)

import TinyLorem from 'tiny-lorem';
const lorem = new TinyLorem();

lorem.texts.word(); // 汉
lorem.number.int(); // 123

CJS(CommonJs)

const TinyLorem = require('tiny-lorem').default;
const lorem = new TinyLorem();

lorem.texts.word(); // 汉
lorem.number.int(); // 123

API Documents

Documents

Inspired by

Mockjs
faker-js

LICENSE

MIT

Keywords

mock

FAQs

Package last updated on 31 Jul 2025

Did you know?

Socket

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.

Install

Related posts