Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
8e692b994e | |||
0ba0a9abbb | |||
2828b2eaf0 | |||
4d0c97f948 | |||
9b31263a32 | |||
967b103e01 |
17
changelog.md
17
changelog.md
@ -1,5 +1,22 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-01-24 - 2.2.2 - fix(package)
|
||||||
|
Fix export path in package.json
|
||||||
|
|
||||||
|
- Corrected the export path from './dist/index.js' to './dist_ts/index.js' in package.json
|
||||||
|
|
||||||
|
## 2025-01-24 - 2.2.1 - fix(documentation)
|
||||||
|
Remove unnecessary markdown syntax from the README.
|
||||||
|
|
||||||
|
- Fixed minor formatting issue in the README file by removing extraneous markdown syntax.
|
||||||
|
|
||||||
|
## 2025-01-24 - 2.2.0 - feat(core)
|
||||||
|
Initial release of smartfm module for handling frontmatter
|
||||||
|
|
||||||
|
- Added Smartfm class to handle YAML and JSON frontmatter
|
||||||
|
- Implemented methods for parsing and stringifying frontmatter
|
||||||
|
- Included support for parseFromComments to handle commented out frontmatter
|
||||||
|
|
||||||
## 2025-01-24 - 2.1.2 - fix(documentation)
|
## 2025-01-24 - 2.1.2 - fix(documentation)
|
||||||
Updated readme.md to add comprehensive examples and advanced use cases.
|
Updated readme.md to add comprehensive examples and advanced use cases.
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "@push.rocks/smartfm",
|
"name": "@push.rocks/smartfm",
|
||||||
"version": "2.1.2",
|
"version": "2.2.2",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "A Node.js module for handling and processing frontmatter in markdown and text files, leveraging the gray-matter library for parsing and stringifying YAML or JSON formatted frontmatter.",
|
"description": "A Node.js module for handling and processing frontmatter in markdown and text files, leveraging the gray-matter library for parsing and stringifying YAML or JSON formatted frontmatter.",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./dist/index.js"
|
".": "./dist_ts/index.js"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
```markdown
|
|
||||||
# @push.rocks/smartfm
|
# @push.rocks/smartfm
|
||||||
|
|
||||||
The `@push.rocks/smartfm` module handles frontmatter data in markdown and other text files. The module allows easy parsing, stringification, and extraction of frontmatter data, using YAML or JSON format. It leverages the `gray-matter` library for advanced functionality with a simple API.
|
The `@push.rocks/smartfm` module handles frontmatter data in markdown and other text files. The module allows easy parsing, stringification, and extraction of frontmatter data, using YAML or JSON format. It leverages the `gray-matter` library for advanced functionality with a simple API.
|
||||||
@ -188,7 +187,6 @@ By combining `@push.rocks/smartfm` with a markdown parsing library like `marked`
|
|||||||
With these examples, you can see how `@push.rocks/smartfm` fits into various workflows involving frontmatter and text processing. The module's simplicity and effectiveness make it a suitable choice for projects that require clean handling of document metadata.
|
With these examples, you can see how `@push.rocks/smartfm` fits into various workflows involving frontmatter and text processing. The module's simplicity and effectiveness make it a suitable choice for projects that require clean handling of document metadata.
|
||||||
|
|
||||||
Feel free to explore and extend these examples based on your particular use case. Whether you are building a simple script, a web application, or an extensive content management system, `@push.rocks/smartfm` provides a robust foundation for frontmatter operations. Happy coding!
|
Feel free to explore and extend these examples based on your particular use case. Whether you are building a simple script, a web application, or an extensive content management system, `@push.rocks/smartfm` provides a robust foundation for frontmatter operations. Happy coding!
|
||||||
```
|
|
||||||
|
|
||||||
## License and Legal Information
|
## License and Legal Information
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartfm',
|
name: '@push.rocks/smartfm',
|
||||||
version: '2.1.2',
|
version: '2.2.2',
|
||||||
description: 'A Node.js module for handling and processing frontmatter in markdown and text files, leveraging the gray-matter library for parsing and stringifying YAML or JSON formatted frontmatter.'
|
description: 'A Node.js module for handling and processing frontmatter in markdown and text files, leveraging the gray-matter library for parsing and stringifying YAML or JSON formatted frontmatter.'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user