Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 436 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 436 Bytes

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.