https://github.com/webdiscus/test-fixtures-lorem
Test fixture as a JS module containing the text Lorem Ipsum
https://github.com/webdiscus/test-fixtures-lorem
fixture javascript lorem module test text
Last synced: 7 months ago
JSON representation
Test fixture as a JS module containing the text Lorem Ipsum
- Host: GitHub
- URL: https://github.com/webdiscus/test-fixtures-lorem
- Owner: webdiscus
- License: isc
- Created: 2022-08-07T16:31:15.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-10T12:18:39.000Z (about 3 years ago)
- Last Synced: 2025-02-11T05:34:13.057Z (8 months ago)
- Topics: fixture, javascript, lorem, module, test, text
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/@test-fixtures/lorem "download npm package")
[](https://www.npmjs.com/package/@test-fixtures/lorem)# @test-fixtures/lorem
This is a test fixture as a JS module containing the text `Lorem Ipsum` 1024 bytes long.
## Install
```
npm i -D @test-fixtures/lorem
```## Usage
```js
const lorem = require('@test-fixtures/lorem');console.log('Title: ', lorem.getTitle()); // Lorem Ipsum
console.log('Text: ', lorem.getText()); // 1024 bytes of text
console.log('Text size: ', lorem.getSize()); // 1024
```