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

cdrca

v0.0.3

Published

cdrca is a dsl project for abstracting the animation, it use as an npm package is for programatically write videos such as new bots etc however cdrca is meant for cartoons and other type of animations too atlhough limited by the license (as what ethics m

Readme

CDRCA

CDRCA is a transpiler and rendering engine designed to simplify the complex process of creating 2D, 3D, and especially 2.5D animations.


A Custom DSL for Animation

Creating compelling animations, whether through traditional frame-by-frame drawing or modern rigging, is challenging. 2.5D animation—which uses 2D assets in a 3D environment—presents its own difficulties, often limiting creators to simple camera pans and movements.

CDRCA aims to solve these problems by providing an intuitive Domain-Specific Language (DSL). It supports multiple programming paradigms (functional, object-oriented, and a props-scene-action model), allowing you to program, command, or simply write out your animation sequence.


Getting Started

You can get started with CDRCA in one of the following ways:

  • Download the latest release from the project page.
  • Clone the repository: git clone https://github.com/Muhammad-Ayyan-no1/CDRCA-animation-dsl.git
  • Install via npm: npm install cdrca

To see the language in action, check out the examples here: CDRCA Examples.


Documentation

Official documentation is currently in development and will be available soon.


Team Paradigm

CDRCA is built to boost productivity for both solo creators and teams. The DSL is designed to be so straightforward that it allows for a clear separation of roles:

  • Technical Artists/Developers: Define props and the actions they can perform. This process is streamlined by the standard CDRCA library.
  • Writers/Storytellers: Use the pre-defined props and actions to write the story. They can focus purely on the narrative, defining scenes and character behaviors in a highly reusable and dynamic way.

Basic Syntax Overview

The syntax is designed to be intuitive. If you find it difficult, require tutorials, or have suggestions, please open an issue on GitHub. The goal is for CDRCA to feel like a natural extension of the creative process, not another complex tool to learn.

Actions

Actions are defined using the def action keyword. You can chain multiple actions together in a single definition.

  • Syntax:
    def action <action_name> <prop_name> <action_type> [additional_information]
  • Example:
    def action runFast myCharacter run "fast"

Organization

CDRCA uses a header system for organization and imports.

  • @import myPath.cdrca: Imports a library or tool.
  • @addImport myPath.cdrca: Inlines the content of another file, as if you had copy-pasted it.

You can also define scenes and add metadata using headers. A header block also implicitly defines a scene, or you can explicitly use the NextSceneStart keyword.

  • Header Example:

    ! --- MyHeaderKeywords 1 2 3 :: This is a comment ---
    
    ! --- End ---
  • Regular Comments:

    // Comments similar to JS (JAVASCRIPT) or CPP (C++) or C

Further Syntax

For the rest of the syntax, please check the official documentation (once released) or explore the provided examples.


Ethical Use

CDRCA is an open-source tool intended for everyone. We believe in using technology to foster positive and ethical creativity. The legal terms of use are outlined in the LICENSE.md file. As a guiding principle, we ask that you use CDRCA responsibly and refrain from creating content with harmful or negative intentions.


Contributing

CDRCA is an open project, and contributions are welcome! Feel free to fork the repository, make improvements, and submit a pull request.

Codebase Structure

  • CDRCA root
    • index.js
    • Front-end
      • index.html
      • other stuff
    • Back-end
      • serverManager.js
      • Transpiler
      • Servers
      • Renderer (server side)
      • other stuff
    • examples
      • basicUsage
      • fullDemo
      • other stuff

Current Collaborators

Currently, the project is being developed and maintained by a solo developer, Muhammad Ayyan.