
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
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 1 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.

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

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.