gray-matter

v4.0.2

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

Package Health Score

67 / 100
  • Popularity
    Popular
  • Maintenance
    Inactive
  • Security
    No known security issues
  • Community
    Sustainable

Popularity

Popular
Weekly Downloads (558,928)
Dependents
865
GitHub Stars
1.08K
Forks
73
Contributors
16

The npm package gray-matter receives a total of 558,928 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,076 times, and that 865 other projects on 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

Security and license risk for recent versions


Direct Vulnerabilities

3.1.0
3.1.1
4.0.0
4.0.1
4.0.2
  • 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

3.1.0
3.1.1
4.0.0
4.0.1
4.0.2
  • 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

3.1.0
3.1.1
4.0.0
4.0.1
4.0.2
  • 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

Security Policy
No
All security vulnerabilities belong to production dependencies of direct and indirect packages.

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

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

    # Install the Snyk CLI and test your project
npm i snyk && snyk test gray-matter
Fix it in your project with Snyk!

Maintenance

Inactive
Commit Frequency
No Recent Commits
Open Issues
14
Merged PR
22
Open PR
9
Last Commit
2 years 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 Inactive.

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.

In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.

Community

Sustainable
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
16
Funding
No
License
MIT

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.

Package

Node.js Compatibility
>=6.0

Age
7 years
Dependencies
4 Direct / 9 Total
Versions
5
Install Size
38.4 kB
Dist-tags
1
# of Files
14
Maintainers
3
TS Typings
No

We detected a total of 9 direct & transitive dependencies for gray-matter. See the full dependency tree of gray-matter

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.