
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
LDtk 0.7.0 file format type definitions and import wrapper.
This library provides an API without all the noise of LDtk "editor-only" values, definitions, etc., combined with many utilities to make usage easier.
If you just want the type definitions, they're fully compliant with the schema.
Documentation is available here.
$ npm install ldtk
Basic usage
import { World } from "ldtk";
World.loadRaw("assets/world.ldtk").then(async world => {
// You have access to the raw `LDtk` JSON file here
let currentLevel = world.levels[0];
for (const layer of currentLevel.layerInstances) {
console.log(layer);
// the world is your oyster
}
})
Using the importer
import { World, LDtk } from "ldtk";
World.fromURL("assets/world.ldtk").then(async world => {
let currentLevel = world.levelMap["Level1"];
function loop(time) {
render(currentLevel);
window.requestAnimationFrame(loop);
}
window.requestAnimationFrame(loop)
});
FAQs
Importer for the LDtk project file format
The npm package ldtk receives a total of 4 weekly downloads. As such, ldtk popularity was classified as not popular.
We found that ldtk 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.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.