lu 0.2.1
Library of reusable miscellanea
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
lu
Miscellaneous general-purpose library modules. Nothing extraordinary.
Used in the kameloso bot and in the dialect IRC parsing library.
What it is
API documentation can be found here.
In summary:
conv.d
: Conversion functions and templates.meld.d
: Melding, or taking two structs/classes of the same type and merging the two into a union of their members.string.d
: String manipulation functions and templates; notablynom
which advances a string passed a supplied substring.traits.d
: Miscellaneous traits and cleverness.uda.d
: Some user-defined attributes used here and there.common.d
: Things that don't have a better home yet.json.d
: Convenience wrappers around aJSONValue
, which can be unwieldy.net.d
: Connection helpers, includingFiber
s that resolve addresses, connect to servers and read full strings from connections.objmanip.d
: Struct/class manipulation, such as setting a member field by its string name.serialisation.d
: Functions and templates for serialising structs into an .ini file-like format.deltastrings.d
: Expressing the differences (or delta) between two instances of a struct, as either assignment statements or assert statements.
Roadmap
- nothing right now, ideas needed
Built with
License
This project is licensed under the MIT license - see the LICENSE file for details.
- Registered by JR
- 0.2.1 released 4 years ago
- zorael/lu
- MIT
- Copyright © 2019, JR
- Authors:
- Sub packages:
- lu:core, lu:conv, lu:meld, lu:string, lu:traits, lu:uda, lu:common, lu:json, lu:net, lu:objmanip, lu:serialisation, lu:deltastrings
- Dependencies:
- none
- Versions:
-
3.0.1 2024-Aug-10 3.0.0 2024-Aug-10 2.2.0 2024-Jan-27 2.1.0 2024-Jan-04 2.0.0 2023-Aug-17 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
1 downloads this month
-
28809 downloads total
-
- Score:
- 1.1
- Short URL:
- lu.dub.pm