Discover Packages
github.com/pocketbase/pocketbase
tools
inflector
package
Version:
v0.18.0
Opens a new window with list of versions in this module.
Published: Sep 5, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 132
Opens a new window with list of known importers.
Documentation
Documentation
¶
Columnify strips invalid db identifier characters.
Sanitize sanitizes `str` by removing all characters satisfying `removePattern`.
Returns an error if the pattern is not valid regex string.
Sentenize converts and normalizes string into a sentence.
Snakecase removes all non word characters and converts any english text into a snakecase.
"ABBREVIATIONS" are preserved, eg. "myTestDB" will become "my_test_db".
UcFirst converts the first character of a string into uppercase.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.