mox-lorem-ipsum
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

mox-lorem-ipsum

Web component to create paragraphs containing filler text. This helps to fill your page with content during early development.

Install this package with:

npm install mox-lorem-ipsum

Then, you can simply add the component to your website by including it in the head of your html file:

<script src="node_modules/mox-lorem-ipsum/dist/mox-lorem-ipsum.js"></script>

And now, if you need to fill your body with lorem ipsum, add the following:

<!-- Displays one paragraph of lorem ipsum. -->
<mox-lorem-ipsum />

API

The API is very minimal. You can only specify the number of lorem ipsum paragraphs you want to display using the count attribute.

<!-- Displays three paragraphs of lorem ipsum. -->
<mox-lorem-ipsum count="3" />

Development

Start the development server:

npm start

Run all tests:

npm test

Run only tests related to changed files since the last commit:

npm run test.watch

Build for production:

npm run build

Dependencies

Build with stencil.

License

Released under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i mox-lorem-ipsum

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

155 kB

Total Files

32

Last publish

Collaborators

  • symmetronic