Select language README.md
ILorem
A package for automatically generating placeholder text and images, allows you to keep the HTML structure clean during development.
The picsum.photos service is used to insert images.
Install
yarn add ilorem
Usage
Import using webpack
Or attach the script manually
Add texts
<!-- Text from sentences consisting of 2-100 random words. --> <!-- Text from sentences consisting of 123 random words. -->
Add images
<!-- 300x300 random image. --> <!-- 640x480 random image. --> <!-- 300x300 static image corresponding to seed "user1". --> <!-- 800x200 static image corresponding to seed "user1". -->