Gathering detailed insights and metrics for unified-engine-gulp
Gathering detailed insights and metrics for unified-engine-gulp
Gathering detailed insights and metrics for unified-engine-gulp
Gathering detailed insights and metrics for unified-engine-gulp
npm install unified-engine-gulp
Typescript
Module System
Node Version
NPM Version
61.9
Supply Chain
95.9
Quality
75.7
Maintenance
100
Vulnerability
99.3
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
7 Stars
105 Commits
1 Forks
7 Watchers
1 Branches
14 Contributors
Updated on Mar 01, 2023
Latest Version
11.0.0
Package Id
unified-engine-gulp@11.0.0
Unpacked Size
16.90 kB
Size
5.85 kB
File Count
7
NPM Version
9.7.2
Node Version
20.0.0
Published on
Aug 24, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
unified engine to create a Gulp plugin from a unified processor.
This package wraps unified-engine
so that it can be used
to create a Gulp plugin.
It’s what you use underneath when you use gulp-remark
.
You can use this to let users process files from a gulp plugin, letting them configure from the file system.
This package is ESM only. In Node.js (version 16+), install with npm:
1npm install unified-engine-gulp
1import {remark} from 'remark' 2import {engineGulp} from 'unified-engine-gulp' 3 4export const gulpRemark = engineGulp({ 5 ignoreName: '.remarkignore', 6 name: 'gulp-remark', 7 packageField: 'remarkConfig', 8 pluginPrefix: 'remark', 9 processor: remark, 10 rcName: '.remarkrc' 11})
This package exports the identifier engineGulp
.
There is no default export.
engineGulp(options)
Create a Gulp plugin.
👉 Note: see writing a Gulp plugin for more info.
options
(Options
, required])
— configurationGulp plugin, which can be called with options (same as Options
but w/o name
or processor
) and returns a through2
stream
accepting Vinyl files (FileStream
).
FileStream
File stream (TypeScript type).
Streaming vinyl files are not supported. Read more about why in Gulp’s docs (point 10).
There’s also a fileStream.use()
function, which is like
unified.use()
, in that it accepts a plugin and configuration or a
preset.
It returns the operated on fileStream
.
1import type {Transform} from 'node:stream' 2 3type FileStream = Transform & {use: Use} 4 5type Use = (...values: unknown[]) => FileStream
Options
Configuration (TypeScript type).
1import type {EngineOptions} from 'unified-engine' 2 3type Options = {name: string} & Omit< 4 EngineOptions, 5 | 'alwaysStringify' 6 | 'cwd' 7 | 'extensions' 8 | 'files' 9 | 'out' 10 | 'output' 11 | 'plugins' 12 | 'silentlyIgnore' 13 | 'streamIn' 14 | 'streamOut' 15>
The engine can be debugged by setting the DEBUG
environment variable
to *
, such as DEBUG="*" gulp …
.
This package is fully typed with TypeScript.
It exports the additional types FileStream
and
Options
.
Projects maintained by the unified collective are compatible with maintained versions of Node.js.
When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line, unified-engine-gulp@^11
,
compatible with Node.js 16.
unified-engine-gulp
loads and evaluates configuration files, plugins, and
presets from the file system (often from node_modules/
).
That means code that is on your file system runs.
Make sure you trust the workspace where you run unified-engine-gulp
and be
careful with packages from npm and changes made by contributors.
See contributing.md
in unifiedjs/.github
for ways
to get started.
See support.md
for ways to get help.
This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More