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.
@mappable-world/mappable-spherical-mercator-projection
Advanced tools
Mappable Maps JS API 3.0 example @mappable-world/mappable-spherical-mercator-projection
Mappable JS API package
The package is located in the dist
folder:
dist/types
TypeScript typesdist/esm
es6 modules for direct connection in your projectdist/index.js
Mappable JS Moduleto use Mappable JS Module you need to add your module loading handler to JS API
mappable.import.loaders.unshift(async (pkg) => {
if (!pkg.includes('@mappable-world/mappable-spherical-mercator-projection')) {
return;
}
if (location.href.includes('localhost')) {
await mappable.import.script(`/dist/index.js`);
} else {
// You can use another CDN
await mappable.import.script(`https://unpkg.com/${pkg}/dist/index.js`);
}
Object.assign(mappable, window[`${pkg}`]);
return window[`${pkg}`];
});
and in your final code just use mappable.import
const pkg = await mappable.import('@mappable-world/mappable-spherical-mercator-projection')
FAQs
Mappable Maps JS API 3.0 example @mappable-world/mappable-spherical-mercator-projection
The npm package @mappable-world/mappable-spherical-mercator-projection receives a total of 0 weekly downloads. As such, @mappable-world/mappable-spherical-mercator-projection popularity was classified as not popular.
We found that @mappable-world/mappable-spherical-mercator-projection 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.