@devjacob/jcp
v1.2.1
Published
A simple function to parse JSON files which contain comments
Downloads
3
Readme
JSON Comment Parser
Some simple functions for parsing JSON object from a JSON with comments file.
Installing
npm i @devjacob/jcp
Examples
const JCP = require("@devjacob/jcp");
console.log(JCP.parsefromFile("./tsconfig.json", { eol: "CRLF" }));
License
This project uses the Mozilla Public License 2.0 Permissions of this weak copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work. The license can be read here The following table provides a breif overview of the license. Hovering each point will provide a more detailed description.
| Permissions | Conditions | Limitations | |---|---|---| | Commercial use Distribution Modification Patent use Private use | Disclose source License and copyright notice Same license (file) | Liability Trademark use Warranty |