liquidless-faker
v1.1.1
Published
Faker.js filter for liquidless templates
Downloads
13,016
Readme
liquidless-faker
Faker.js filter for liquidless templates
Get Started
Install the dependency from npm:
npm i liquidless-faker
Import the fake
filter
import { fake } from 'liquidless-faker'
Usage
Example: Rendering a string
renderTemplate('{{ lorem.lines | fake: 1 }}', {}, {
filters: {
fake
}
})
Outputs:
Saepe nesciunt officiis.