content-entry-transform

1.4.30 • Public • Published

npm License bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status

content-entry-transform

transform content entries

API

Table of Contents

createExpressionTransformer

Transformer expanding '{{}}' expressions

Parameters

createPropertiesTransformer

Creates a new transformer. On match the entry will be assigned new properties as given by propertyDefinitions.

Parameters

  • match
  • propertyDefinitions Object
  • name string (optional, default "property")
  • matcher Matcher

Returns Transformer

transform

Apply transformers.

Parameters

  • source AsyncIterable<ContentEntry>
  • transformers Array<Transformer> (optional, default [])
  • onlyMatching boolean filter out all none matching entries

install

With npm do:

npm install content-entry-transform

license

BSD-2-Clause

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.4.30
    423
    • latest

Version History

Package Sidebar

Install

npm i content-entry-transform

Weekly Downloads

2,040

Version

1.4.30

License

BSD-2-Clause

Unpacked Size

10 kB

Total Files

7

Last publish

Collaborators

  • arlac77