
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
geojson-fixtures
Advanced tools
Test fixtures of GeoJSON objects.
fixtures.geometry.*fixtures.feature.*fixtures.featurecollection.*fixtures.all[]: all kinds of fixturesIncludes a test helper for writing fixture-based tests with substack/tape.
// first argument is require('tape') or a 't' test runner
// second is the type of fixtures: 'all', 'geometry', 'feature', 'featurecollection'
// third is the function to run to turn input into output: the tested function.
// fourth is the directory where test output should be stored.
// fifth is whether to enable geojsonhint as a last step. set to false to disable.
// sixth is a postcondition that can be any arbitrary test
geojsonFixtures(test, 'all', centroid, __dirname + '/test', true, function(t, input, output) {
t.ok(input);
});
npm install --save-dev geojson-fixtures
FAQs
geojson fixtures for testing and validation
The npm package geojson-fixtures receives a total of 2,412 weekly downloads. As such, geojson-fixtures popularity was classified as popular.
We found that geojson-fixtures demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 29 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
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.