gray-matter icon indicating copy to clipboard operation
gray-matter copied to clipboard

typescript issues - is this package deprecated?

Open pavlexander opened this issue 2 years ago • 0 comments

I have found an issue with what looks like typescript definition problem.

This is the JSON.stringify output of GrayMatterFile object:

{                                                                 
  content: 'test2',                          
  data: { title: 'test1' },                                       
  isEmpty: false,                                                 
  excerpt: '',                                                    
  path: 'C:\\supersecret\\public\\docs\\test1.md'
}         

However there is no path property on the object as well as other inconsistencies, according to typescript:

image

I wanted to report a bug, but based on amount of unmerged pull-requests and last commit date it looks like this project is dead?

Does anybody know if there is a better alternative that is still supported?

pavlexander avatar May 27 '22 17:05 pavlexander