
Security News
Node.js Considers Public Workflow for Security Reports Amid AI-Driven Surge
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.
@mapbox/jsonlint-lines-primitives
Advanced tools
A fork of the lines-primitive branch of tmcw/jsonlint, which is a fork of zaach/jsonlint that adds line number annotations to the parsed JSON.
This fork is used by Mapbox GL JS, specifically for providing helpful error messages when validating Mapbox GL style JSON documents.
Copyright (C) 2012 Zachary Carter
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
jsonlint is a popular JSON parser and validator that also provides error messages with line numbers. However, it may not provide as detailed column information as @mapbox/jsonlint-lines-primitives.
ajv is a JSON schema validator that can validate JSON data against a schema. While it focuses more on schema validation than syntax validation, it is a powerful tool for ensuring JSON data structure and content.
fast-json-parse is a lightweight JSON parser that focuses on performance. It provides basic error messages but lacks the detailed line and column error reporting of @mapbox/jsonlint-lines-primitives.
FAQs
Validate JSON
The npm package @mapbox/jsonlint-lines-primitives receives a total of 4,129,001 weekly downloads. As such, @mapbox/jsonlint-lines-primitives popularity was classified as popular.
We found that @mapbox/jsonlint-lines-primitives demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 28 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.