fix(documentation): Improved and updated README with detailed usage instructions

This commit is contained in:
2025-01-24 02:03:07 +01:00
parent a11b4ee7df
commit 4c6e1e9c47
6 changed files with 42 additions and 71 deletions

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartfm',
version: '2.1.0',
description: 'frontmatter done right'
version: '2.1.1',
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.'
}

View File

@@ -31,7 +31,7 @@ export class Smartfm {
}
/**
* parse from commnets
* parse from comments
*/
parseFromComments(commentStart: string, stringToParse: string) {
const diffFunc = (diffMe, diffBy) => diffMe.split(diffBy).join('');