{"id":26454086,"url":"https://github.com/certificationsurya/last-parse","last_synced_at":"2025-07-11T22:08:56.831Z","repository":{"id":232787594,"uuid":"773433898","full_name":"CertificationSurya/last-parse","owner":"CertificationSurya","description":"Last-parse is a versatile package designed to view, suggest corrections, and perform corrections on text content within HTML, EJS, MD and TXT files. Whether you're dealing with grammatical errors, spelling mistakes, or other textual issues, last-parse provides a seamless solution for enhancing your text content.","archived":false,"fork":false,"pushed_at":"2024-04-15T17:03:00.000Z","size":163,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-27T12:09:40.639Z","etag":null,"topics":["autocorrect","ejs","last-parse","npm-package","parse","txt"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/last-parse","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CertificationSurya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-17T16:46:32.000Z","updated_at":"2024-06-29T03:32:15.000Z","dependencies_parsed_at":"2024-04-11T13:43:23.636Z","dependency_job_id":null,"html_url":"https://github.com/CertificationSurya/last-parse","commit_stats":null,"previous_names":["certificationsurya/last-parse","certificationsurya/last-parser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CertificationSurya/last-parse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CertificationSurya%2Flast-parse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CertificationSurya%2Flast-parse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CertificationSurya%2Flast-parse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CertificationSurya%2Flast-parse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CertificationSurya","download_url":"https://codeload.github.com/CertificationSurya/last-parse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CertificationSurya%2Flast-parse/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264904808,"owners_count":23681277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocorrect","ejs","last-parse","npm-package","parse","txt"],"created_at":"2025-03-18T19:39:12.111Z","updated_at":"2025-07-11T22:08:56.810Z","avatar_url":"https://github.com/CertificationSurya.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Last-Parse\nLast-parse is a versatile package designed to view, suggest corrections, and perform corrections on text content within HTML, EJS, MD and TXT files. Whether you're dealing with grammatical errors, spelling mistakes, or other textual issues, last-parse provides a seamless solution for enhancing your text content.\n\n# 🔥Disclaimer🔥:\n### This package will update your file and there is no going back. Thus, snapshot(git) of all file contents is advised \n\n## Installation\n```node\nnpm i last-parse\n```\n---\n## Usage\n- Create a config.last.json file anywhere, preferred root of your project, and modify following properties as you like. Properties not given are taken from default setting.\n- Change package.json. Add script for parse with appropriate destination\n- Execute using npm run parse\n\n### config.last.json (default)\n```node\n// config.last.json\n{\n    \"files\": [\"\"],\n\t\"ignoreFolders\": [\"node_modules\", \".git\", \"lib\", \"test\"],\n\t\"autoReplace\": false,\n\t\"languageConfig\": \"en-US\"\n}\n```\n\n### Config Details:\n- #### files : Array  containing file path. /directory/filePath from current working directory. E.g: files: [\"./src/*.html\", \"/**.txt\"]\n- #### ignoreFolders (doesn't work on glob path) : Array containing file path. /directory/filePath from current working directory. E.g: files: [\"./src\", \"/src/noparse.txt\"]\n- #### autoReplace: boolean value for, well, autoReplacing content without user confirmation.\n- #### languageConfig: String value representing language to parse. [Available-Language](https://api.languagetoolplus.com/v2/languages) [requires longCode]\n\n## Changes to package.json\n```node\n// package.json\n    \"scripts\" : {\n           \"parse\" : \"last-parse pathToYourConfig.last.json\"\n     }\n\n     // E.g:\n     \"scripts\" : {\n           \"parse\" : \"last-parse ./\"\n     }\n``` \n\n\n## To Execute: (locally)\n```node\nnpm run parse\n```\n## To Execute: (globally)\n```node\nnpm i -g last-parse\nlast-parse [filePath]\n```\n---\n\n\n## Features\n- Use the package manager [npm](https://www.npmjs.com/) to install last-parse.\n- Supports parsing and correction of text content within HTML, EJS, MD and TXT files.\n- Identifies grammatical errors, spelling mistakes, and other textual issues.\n- Provides suggestions for correcting identified errors.\n- Allows for easy integration into your existing projects.\n- Simple to use, with intuitive functions for parsing and correcting text.\n\n## Contributing\n*** Star to the Repo is highly appreciated. ***\n\nProvide suggestion by opening an issue.\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcertificationsurya%2Flast-parse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcertificationsurya%2Flast-parse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcertificationsurya%2Flast-parse/lists"}