An open API service indexing awesome lists of open source software.

https://github.com/enginemachiner/astro

Astro is a standard Lua library.
https://github.com/enginemachiner/astro

Last synced: 8 months ago
JSON representation

Astro is a standard Lua library.

Awesome Lists containing this project

README

          

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W32691S)

# Astro

**Astro** is a small and simple **Lua** library.

## Features

- Table concatenation with format support and cycle detection.

- A simple vector implementation.

- Table manipulation:
- Operations such as addition, substraction, merging and reversing, etc.
- Functions to retrieve, find and filter keys and values in different ways.
- Shallow and deep copy functions.
- Function to make a table read-only.

The table library attempts to preserve the original metatable and metamethods from the input table.

- String manipulation:
- Character substring extraction.
- Blank or empty strings checks.
- Check if ends or starts with another sequence.

**Astro** looks forward to extend the standard Lua library with a wide range of utilities to keep the code **simple and readable**.

## Usage

Astro can be used loaded as a module through `require()` or by loading the `init.lua` file in the Lua environment.

## Contributing

- Run `./build/updateInfo.sh` to update the version in `info.lua`.

## Credits
- [AwfulRanger](https://github.com/AwfulRanger)

Thank you to everyone who contributed to the development of this project!