An extension of string operations for Lua.
$ luarocks install luastring
This module builds on the base functionality of the string type and aims to not only emulate the Python standard library's string operations, but also exceed it, in both performance & features. LuaString is written in pure Lua to provide good accessibility — for example, scripters in sandboxed environments — and this also makes the module much easier to maintain, so users can put their own spin on the module and I can ensure a minimally buggy experience.
LuaString encourages users to pull code from the source as they please — since there are no internal, nor third-party dependencies — provided you abide by the license. It's a module designed for convenience.
Since this module is at an early state, any feedback would be greatly appreciated. From things to function implementation, to how I worded something on the documentation. Every little bit helps.
Copyright (c) 2022 Ryan Terwilliger
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.