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 🙏

© 2025 – Pkg Stats / Ryan Hefner

kt-ae-tools-project

v1.0.20

Published

After Effects project utilities

Downloads

1,986

Readme

KT After Effects Project Tools

📑 Index of Contents

  1. Overview
  2. Quick Start
  3. Modules
  4. Dependencies
  5. Development

Overview

🎬 KT_Project is a TypeScript library that provides comprehensive utilities for managing After Effects projects programmatically. It allows you to create, search, import, organize, and manipulate project elements with a clean and intuitive interface, designed for the KT ecosystem.

Key Features

  • Search elements by name, path, ID with support for regex and patterns
  • Create compositions, folders, and solids with automatic validation and sanitization
  • Import media from disk (folders, files, sequences) with flexible options
  • Organize projects by moving, duplicating, and removing elements
  • Navigate projects using an intuitive path system with // separators
  • Type-safe operations with full TypeScript support
  • ExtendScript compatible for Adobe After Effects scripting environment

Quick Start

import { KT_Project } from "kt-ae-project-tools";

// Create a new composition
const newComp = KT_Project.add.comp({
    name: "Main Timeline",
    width: 1920,
    height: 1080,
    frameRate: 30,
    duration: 30,
});

// Search for existing elements
const foundComps = KT_Project.find.comps("Timeline");
const allFolders = KT_Project.find.folders({ deep: true });

// Import media
const imported = KT_Project.import.videos({
    path: "/path/to/footage/",
    recursive: true,
});

// Move elements
KT_Project.move(newComp, parentFolder);

// Duplicate elements
const duplicated = KT_Project.duplicate.comps(newComp);

// Remove elements
KT_Project.remove.comp(newComp);

// Navigate using paths
const itemPath = KT_Project.path.get(newComp);
const resolved = KT_Project.path.resolve(app.project.rootFolder, "//MainFolder//SubFolder");

Module Documentation

Detailed documentation for each module:

| Module | File | Description | | ---------------- | -------------------------------------- | ---------------------------------- | | 🔍 find | docs/find.md | Search and filter project elements | | ➕ add | docs/add.md | Create new project elements | | 📥 import | docs/import.md | Import external files and folders | | ↔️ move | docs/move.md | Move elements within project | | 🗑️ remove | docs/remove.md | Remove elements from project | | 📋 duplicate | docs/duplicate.md | Duplicate existing elements | | 🛤️ path | docs/path.md | Navigate and manage project paths |

🔍 find Module

Powerful search and filtering utilities to locate elements in the project hierarchy.

Key Methods:

  • items() - Search any element
  • comps() - Search compositions
  • folders() - Search folders
  • footage(), videos(), audios(), images() - Search specific media types

View full documentation →

➕ add Module

Create new project elements with automatic validation and sanitization of parameters.

Key Methods:

  • comp() - Create a new composition
  • folder() - Create a new folder
  • solid() - Create a new solid

View full documentation →

📥 import Module

Import external files and folders into your After Effects project with flexible options.

Key Methods:

  • files() - Import individual files
  • folders() - Import folder structures
  • videos(), audios(), images() - Import specific media types
  • sequences() - Import image sequences

View full documentation →

↔️ move Module

Move elements within the project hierarchy to organize your workflow.

Key Methods:

  • move() - Move elements to a destination folder

View full documentation →

🗑️ remove Module

Remove elements from your project with type-specific methods.

Key Methods:

  • item() - Remove any element
  • comp(), folder(), footage(), video(), audio(), image(), solid() - Remove specific types

View full documentation →

📋 duplicate Module

Duplicate existing elements and maintain their properties and hierarchy.

Key Methods:

  • items() - Duplicate any element
  • comps(), folders(), footage() - Duplicate specific types

View full documentation →

🛤️ path Module

Navigate the project hierarchy using path strings with // separators for element names.

Key Methods:

  • get() - Get the path string of an element
  • resolve() - Resolve a path string to an element
  • traverse() - Traverse elements recursively
  • parse() - Parse a path string into segments

View full documentation →


Dependencies

  • 📦 kt-io - File system and path utilities - GitHub
  • 📦 kt-ae-is-checkers - Type guards for After Effects items
  • 📦 kt-core - Core framework utilities - GitHub
  • 🏛️ types-for-adobe - TypeScript definitions for After Effects API

Development

Build

npm run build

Test Build

npm run build-tests
npm run debug-build-tests

Created with ❤️ for the KT ecosystem