content-entry-transform

1.4.29 • Public • Published

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

content-entry-transform

transform content entries

API

Table of Contents

createPropertiesTransformer

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

Parameters

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

Returns Transformer

transform

Apply transformers.

Parameters

  • source AsyncIterator<ContentEntry>
  • transformers Array<Transformer> (optional, default [])
  • onlyMatching

install

With npm do:

npm install content-entry-transform

license

BSD-2-Clause

/content-entry-transform/

    Package Sidebar

    Install

    npm i content-entry-transform

    Weekly Downloads

    2,093

    Version

    1.4.29

    License

    BSD-2-Clause

    Unpacked Size

    8.81 kB

    Total Files

    7

    Last publish

    Collaborators

    • arlac77