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

raain-ui

v2.3.27

Published

raain.io ui layers

Readme

🌧️ raain-ui

npm version Build Status License: MIT TypeScript

Advanced UI components and visualization layers for rainfall data

📋 Table of Contents

✨ Features

  • Interactive Maps: Leaflet-based map visualizations for geospatial rainfall data
  • Performance Rendering: Pixi.js-powered rendering for smooth visualizations
  • Data Charting: Chart.js integration for time-series and statistical analysis
  • 3D Globe Visualization: Earth visualization for global rainfall patterns
  • Time Navigation: Advanced date/time controls for temporal data exploration
  • Responsive Design: Components that adapt to different screen sizes
  • Framework Agnostic: Works with vanilla JavaScript or any framework

📸 Screenshots

Here are some screenshots showcasing the raain-ui components in action:

Map Visualization

Map Visualization

Compare Data

Compare

Date Analysis

Date Analysis

📦 Installation

npm install raain-ui

🚀 Usage

raain-ui provides a set of components that can be integrated into your application. Here's an example of how to use the MapElement component:

import {MapElementFactory} from 'raain-ui';

// Create a map element
const mapElement = MapElementFactory.create({
    container: 'map-container',
    center: [51.505, -0.09],
    zoom: 13
});

// Add a rainfall layer
mapElement.addRainfallLayer(rainfallData);

🔍 Example Application

The project includes a comprehensive example application that demonstrates how to use the library:

# Clone the repository
git clone https://github.com/raainio/raain-ui.git
cd raain-ui

# Install dependencies and build the library
npm install
npm run build

# Run the example
cd example/
npm start

This will open the example application at http://localhost:1234, where you can explore the various components and features of raain-ui.

📚 Documentation

Comprehensive API documentation is available in the specifications directory. This includes detailed information about all components, their properties, methods, and events.

🅰️ Angular Configuration

If you're using this library in an Angular application, you'll need to configure Angular to handle the CSS files properly. Here are two approaches:

"styles": [
"src/styles.css",
"node_modules/raain-ui/dist/data/globe.css"
]

First, create a custom webpack configuration:

// custom-webpack.config.js
module.exports = {
    module: {
        rules: [
            {
                test: /\.css$/,
                include: [/node_modules\/raain-ui/],
                use: ['style-loader', 'css-loader']
            }
        ]
    }
};

Then use @angular-builders/custom-webpack to apply this configuration:

"architect": {
"build": {
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"customWebpackConfig": {
"path": "./custom-webpack.config.js"
}
}
}
}

📝 Changelog

See the Changelog for a detailed list of changes in each version.

👥 Contributing

Contributions are welcome! If you'd like to contribute to raain-ui, please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Please make sure your code follows the existing style and includes appropriate tests.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.