Skip to content

stepci/liquidless-faker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

renderString('{{ lorem.lines | fake: 1 }}', {}, {
  filters: {
    fake
  }
})

Outputs:

Saepe nesciunt officiis.

About

Faker.js filter for liquidless templates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published