Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Mirageo is a JavaScript library for mocking populations. It exposes methods that can be used to generate random location data,
in the form of lat/lng objects. ({lat: -13.667, lng: 48.956}
)
You can also limit the extent of your population by bounding box or bounding polygon.
mirageo-server is a tiny local server that serves data created with Mirageo, and is a good tool if you plan on eventually requesting data from a server. It also creates a single source of data that can be shared between apps/instances.
mirageo-server provides an interface for manipulating/visualizing the data.
conjure(options)
import { conjure } from 'mirageo';
options = {
bound: [90, -180, -90, 180], // A bounding box, or a geoJSON polygon. Defaults to whole planet,
count: 100, // The amount of points to return
geojson: false // Return points as a geojson features.
};
var population = conjure(options); // [{lat: -13.667, lng: 48.956}, ...]
I'd like to create a stateful Mirageo object as well, and allow it to alter its state periodically to create motion. Users could subscribe to an event, or poll the object when they need to. This would mimick the movement of people/ships/anything.
FAQs
A library for creating fake populations.
The npm package mirageo receives a total of 3 weekly downloads. As such, mirageo popularity was classified as not popular.
We found that mirageo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.