
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
dummy-text-generator
Advanced tools
Using npm:
npm install --save dummy-text-generator
Using yarn:
yarn add dummy-text-generator
In Nodejs
const loremGenerator = require('dummy-text-generator');
// const { generateWord, generateSentence, generateParagraph } = require('dummy-text-generator');
// const generateWord = require('dummy-text-generator').generateWord;
loremGenerator.generateWord();
// Output: Lorem
loremGenerator.generateSentence(10);
// Output: Excepteur laboris ea labore quis sunt laborum reprehenderit ea duis.
loremGenerator.generateParagraph(5, 10);
// Output: Excepteur minim amet lorem velit in mollit laborum magna cillum. Qui aliquip duis excepteur id est dolore eiusmod ea adipisicing. Laboris aute sint culpa aliquip laboris enim aliqua exercitation ut. Ea enim deserunt reprehenderit culpa pariatur nostrud laboris anim eiusmod. Ullamco nisi duis cillum elit id officia veniam excepteur velit.
In Browser
CDN:
<script src="https://cdn.jsdelivr.net/npm/dummy-text-generator@<tags_version>/dist/lorem-generator.min.js"></script>
Using loremGenerator
object
In ES modules
import loremGenerator from 'dummy-text-generator';
import { generateWord, generateSentence, generateParagraph } from 'dummy-text-generator';
generateWord() - Return random 1 word
generateSentence(maxWord) - Return random 1 sentence
generateParagraph(maxSentence, maxWord) - Return random 1 paragraph
FAQs
Simple random lorem ipsum generator
The npm package dummy-text-generator receives a total of 13 weekly downloads. As such, dummy-text-generator popularity was classified as not popular.
We found that dummy-text-generator 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.