update README
This commit is contained in:
parent
2f0847eddf
commit
7fd66b7c76
@ -6,12 +6,12 @@ I figure that publishing them in a [public repo](https://git.itsericwoodward.com
|
|||||||
|
|
||||||
The functions exported by this library are:
|
The functions exported by this library are:
|
||||||
|
|
||||||
- **convertCamelToUpperSnakeCase**(`str``: _string_)
|
- **convertCamelToUpperSnakeCase**(`str`: _string_)
|
||||||
- Converts textLikeThis (or TextLikeThis) to TEXT_LIKE_THIS.
|
- Converts textLikeThis (or TextLikeThis) to TEXT_LIKE_THIS.
|
||||||
- _Returns_: Converted version of `str`
|
- _Returns_: Converted version of `str`
|
||||||
- **getDirname**()
|
- **getDirname**()
|
||||||
- Reads and returns variables `__dirname` and `__filename`, as with CJS Node.
|
- Reads and returns variables `__dirname` and `__filename`, as with CJS Node.
|
||||||
- _Returns_: { `__dirname`: _string_, `__filename`: string }
|
- _Returns_: { `__dirname`: _string_, `__filename`: _string_ }
|
||||||
- **getTime**()
|
- **getTime**()
|
||||||
- _Returns_: the current time in a standardized format.
|
- _Returns_: the current time in a standardized format.
|
||||||
- **log**(`...msg`: _unknown[]_)
|
- **log**(`...msg`: _unknown[]_)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@itsericwoodward/utils",
|
"name": "@itsericwoodward/utils",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"description": "A small collection of common libraries and functions the author likes to use in his Node applications.",
|
"description": "A small collection of common libraries and functions the author likes to use in his Node applications.",
|
||||||
"main": "./lib/cjs/index.js",
|
"main": "./lib/cjs/index.js",
|
||||||
"module": "./lib/esm/index.js",
|
"module": "./lib/esm/index.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user