{"library":"sql-strip-comments","type":"library","category":null,"description":"A zero-dependency library to remove line (-- ...) and block (/* ... */) comments from SQL code. Version 0.0.23 is the latest as of the metadata snapshot; the package sees low to moderate releases (last update appears 2020). Differentiators: it correctly ignores comments inside string literals, and does not treat adjacent operators like `--` as comment markers when inside double-quoted strings. Works in Node.js and browsers. Alternative to regex-based solutions that often break on edge cases with strings or multiline comments.","language":"javascript","status":"active","version":"0.0.23","tags":["javascript","sql","strip","comments"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install sql-strip-comments","imports":["import strip from 'sql-strip-comments'","const strip = require('sql-strip-comments')","import strip from 'sql-strip-comments'"]},{"cmd":"yarn add sql-strip-comments","imports":[]},{"cmd":"pnpm add sql-strip-comments","imports":[]}],"homepage":"https://github.com/decemberster/sql-strip-comments#readme","github":"https://github.com/decemberster/sql-strip-comments","docs":null,"changelog":null,"pypi":null,"npm":"sql-strip-comments","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}