
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
goodtables
Advanced tools
An API wrapper for a goodtables.io service. goodtables.io is an open source web service for validating tabular data sources.
An API wrapper for a goodtables.io, an open source web service for validating tabular data sources (DEMO).
validate
function to validate tabular data and output a goodtables
reportgoodtables.io/api
as a cloud backendThe package use semantic versioning. It means that major versions could include breaking changes. It's highly recommended to specify goodtables
version range in your package.json
file e.g. goodtables: ^1.0
which will be added by default by npm install --save
.
$ npm install goodtables
<script src="//unpkg.com/goodtables/dist/goodtables.min.js"></script>
Let's start with a simple example:
const source = '<SOURCE_URL>'
const options = {
// any goodtables options e.g.
skipChecks=['missing-header'],
}
const report = await goodtables.validate(source, options)
This package is only wrapper around main goodltabes-py
via goodtables.io API. Read full documentation to learn the package in details. Please note that JavaScript version of the library uses camelCase
naming for classes, arguments etc instead of snake_case
in the Python counterpart.
Data quality spec is shipped with the library.
const spec = goodtables.spec
Under the hood validate
function uses ApiClient
class. It could be useful for the end-user if there is a need to split API job creation and report getting into two steps.
new ApiClient({apiUrl, apiToken, apiSourceId})
async apiClient.addReport(source, options)
async apiClient.getReport(apiJobId)
APIClient
Validate
See goodtables-py
The project follows the Open Knowledge International coding standards. There are common commands to work with the project:
$ npm install
$ npm run build
$ npm run test
Here described only breaking and the most important changes. The full changelog could be found in nicely formatted commit history.
FAQs
An API wrapper for a goodtables.io service. goodtables.io is an open source web service for validating tabular data sources.
We found that goodtables demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.