You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

content-entry-transform

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

content-entry-transform

transform content entries


Version published
Maintainers
1
Created

Readme

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 28 May 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc