npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dayangac/fkld

v0.2.0

Published

FKLD (Flexible Kirigami List Datastructure) — a JSON file format extending FOLD for kirigami architecture design. Format core: spec/KEYS registry, cut subtypes, edge-molecule params, IO.

Readme

FKLD

FKLD, the Flexible Kirigami List Datastructure, is a JSON data model and CoffeeScript library for adding kirigami- and architecture-specific metadata on top of the FOLD file format. Every FKLD file is a valid FOLD 1.2 file with extra keys under the reserved fkld: namespace, so FOLD-aware tools render the crease pattern and ignore the extensions.

Install

npm install @dayangac/fkld

Ships as an ES module with TypeScript declarations.

Usage

// Flat barrel — everything is re-exported by name:
import { KEYS, validateEdgeCutTypes, validateMoleculeArrays,
         serializeFkld, parseFkld } from "@dayangac/fkld";

KEYS.edges.cutType;            // "fkld:edges_cutType"  (nested registry = source of truth)
validateEdgeCutTypes(asgn, ct) // -> { ok, errors }
serializeFkld(file)            // -> JSON text (trailing newline)

// Or per-module via subpath:
import * as spec from "@dayangac/fkld/spec";
import * as cuts from "@dayangac/fkld/cut-types";
import * as mol  from "@dayangac/fkld/molecule";
import * as io   from "@dayangac/fkld/io";

Format core (0.2.0)

| Module | Exports | | --- | --- | | spec | NAMESPACE, nested KEYS, KEY_LIST, isRegisteredKey, isFkldKey, deepFreeze | | cut-types | CUT_TYPES, CUT_TYPE_INFO, isCutType, validateEdgeCutTypes | | molecule | MOLECULE_FIELDS, pack/unpackEdgeMolecules, isValid*, validateMoleculeArrays | | io | serializeFkld, parseFkld |

0.2.0 re-baseline. This version aligns the published library with the design the Kirigamizer app uses: a nested KEYS registry and array-oriented validators. The earlier 0.1.x file-oriented modules (cuts/molecules/curvature/ materials/architecture/filter and the vendored FOLD layer) are preserved under legacy-0.1/ and may return in a future release. App-specific glue (the AKDE FoldNet → FKLD bridge) intentionally lives in the app, not this package.

Develop

npm run build   # coffee -> lib/ (ESM) + copy .d.ts
npm test        # smoke test against the built package