Socket
Book a DemoInstallSign in
Socket

content-entry-transform

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

content-entry-transform

transform content entries

latest
Source
npmnpm
Version
1.5.15
Version published
Maintainers
1
Created
Source

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

  • match string
  • properties Object
  • name string (optional, default "expression")

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

FAQs

Package last updated on 25 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts