🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@fal-works/mere-file-transformer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fal-works/mere-file-transformer

Tiny library for transforming multiple files.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

mere-file-transformer

Tiny library for transforming multiple files asynchronously.

  • Returns Promise.
  • Uses Node.js stream API.
  • stream.Transform needs to be prepared (consider using replacestream).

API

const transformFile: (rules: Rule[] | Rule) => (path: string) => Promise<void>;
const transformFiles: (rules: Rule[] | Rule) => (globPattern: string) => Promise<void>;

Here Rule is any function that returns stream.Transform.

FAQs

Package last updated on 21 Dec 2020

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