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 2 months ago
    npm install gray-matter
  

Package Health Score

86 / 100
Make sure the packages you're using are safe to use
Secure my Project

Popularity

Popular
Download trend

Weekly Downloads (674,618)

Dependents
917
GitHub Stars
1.7K
Forks
96
Contributors
20

The npm package gray-matter receives a total of 674,618 downloads a week. As such, we scored gray-matter popularity level to be Popular.

Based on project statistics from the GitHub repository for the npm package gray-matter, we found that it has been starred 1,695 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.

Security

No known security issues
Powered by Snyk

Security and license risk for significant versions

All Versions

Direct Vulnerabilities

1.2.6
1.3.0
2.1.1
3.1.1
4.0.3
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

Indirect Vulnerabilities

1.2.6
1.3.0
2.1.1
3.1.1
4.0.3
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

License Risks

1.2.6
1.3.0
2.1.1
3.1.1
4.0.3
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
All security vulnerabilities belong to production dependencies of direct and indirect packages.

License
MIT

Security Policy
No

We found a way for you to contribute to the project! Looks like gray-matter is missing a security policy.


You can connect your project's repository to Snyk to stay up to date on security alerts and receive automatic fix pull requests.

    # Install the Snyk CLI and test your project
npm i snyk -g && snyk test gray-matter
Keep your project free of vulnerabilities with Snyk

Maintenance

Healthy

Commit Frequency

Open Issues
19
Open PR
9
Last Release
2 months ago
Last Commit
2 months 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 Healthy.

We found that gray-matter demonstrates a positive version release cadence with at least one new version released in the past 3 months.

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.

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: 86/100 package health 86/100

Package

Node.js Compatibility
>=6.0

Age
7 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.