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

altan

v1.0.0

Published

```md # Altan UI

Readme

# Altan UI

Altan UI is a comprehensive framework for AI agents to seamlessly integrate backend logic into user interfaces and build them using pre-existing components. The framework consolidates three main modules:

- **Databases**: Tools to integrate backend databases with Redux and Axios.
- **Components**: A library of reusable UI components for rapid development.
- **Blocks**: Pre-built UI blocks that can be assembled to create complex interfaces.

## Features

- **Modular Architecture**: Configure and use modules for databases, UI components, and layout blocks in one unified package.
- **Flexible Configuration**: Easily customize API endpoints and table configurations to suit your unique backend.
- **Integrated State Management**: Leverage Redux with built-in reducers and providers for seamless state handling.
- **Rapid UI Assembly**: Utilize pre-designed components and blocks to quickly construct fully functional UIs.

## Getting Started

1. **Install Altan UI**

   ```bash
   npm install altan
  1. Configure the Database Module

    Before using the database functionality, set your API endpoint and table identifiers:

    import { setDatabaseConfig } from "altan";
    
    setDatabaseConfig({
      API_BASE_URL: "https://api.altan.ai/galaxia/hook/2o6RF5",
      SAMPLE_TABLES: {
        your_table: "YOUR_TABLE_ID",
        your_table2: "YOUR_TABLE_ID2"
      }
    });
  2. Wrap Your App with the Database Provider

    To integrate Redux state management for your databases, wrap your application with the DatabaseProvider:

    import React from "react";
    import { DatabaseProvider } from "altan";
    
    const App = () => (
      <DatabaseProvider>
        {/* Your application components */}
      </DatabaseProvider>
    );
    
    export default App;
  3. Use Components and Blocks

    Import and use UI components and blocks from Altan UI as needed:

    import { SomeComponent, SomeBlock } from "altan";
    
    // Use SomeComponent and SomeBlock in your UI

Modules Overview

Databases

  • Configuration: Set your API base URL and table identifiers using setDatabaseConfig.
  • Redux Integration: Pre-configured Redux slice and provider manage backend data and state.
  • Data Fetching: Async thunks for CRUD operations to interact with your backend.

Components

  • A collection of reusable UI components designed for rapid interface development.

Blocks

  • Pre-designed UI blocks that help you assemble complex UIs quickly and efficiently.

Documentation

The complete API reference is available within the code. Detailed usage examples and further documentation for each module (databases, components, blocks) are provided inline.

Contributing

Contributions to Altan UI are welcome! Please open issues or submit pull requests to suggest improvements or report bugs.

License

MIT