gray-matter

v4.0.3

Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and

MIT
Latest version published 1 year ago
    npm install gray-matter
  

Package Health Score

77 / 100

Security

No known security issues
Powered by Snyk
All security vulnerabilities belong to production dependencies of direct and indirect packages.

Security and license risk for significant versions

All Versions
Version Vulnerabilities License Risk
4.0.3 | 04/2021
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
3.1.1 | 10/2017
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
2.1.1 | 02/2017
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
1.3.0 | 03/2015
  • 0
    H
  • 0
    M
  • 0
    L
1.2.6 | 03/2015
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
License
MIT
Security Policy
No

Is your project affected by vulnerabilities?

Scan your projects for vulnerabilities. Fix quickly with automated fixes. Get started with Snyk for free.

# Install the Snyk CLI and test your project
npm i snyk -g && snyk test gray-matter
Get started free

Popularity

Influential project

Weekly Downloads (925,464)

Download trend
Dependents
917
GitHub Stars
2.57K
Forks
116
Contributors
20

Direct Usage Popularity

TOP 5%

The npm package gray-matter receives a total of 925,464 downloads a week. As such, we scored gray-matter popularity level to be Influential project.

Based on project statistics from the GitHub repository for the npm package gray-matter, we found that it has been starred 2,567 times, and that 917 other projects in the ecosystem are dependent on it.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

Sustainable
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
20
Funding
Yes

With more than 10 contributors for the gray-matter repository, this is possibly a sign for a growing and inviting community.

We found a way for you to contribute to the project! Looks like gray-matter is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 77/100 package health 77/100

Maintenance

Sustainable

Commit Frequency

No Recent Commits
Open Issues
32
Open PR
15
Last Release
1 year ago
Last Commit
1 year ago

Further analysis of the maintenance status of gray-matter based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Sustainable.

An important project maintenance signal to consider for gray-matter is that it hasn't seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Package

Node.js Compatibility
>=6.0

Age
8 years
Dependencies
4 Direct
Versions
58
Install Size
38.6 kB
Dist-tags
1
# of Files
14
Maintainers
3
TS Typings
Yes

gray-matter has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.