24.2.5 • Published 3 months ago

node-essentials-ridaura v24.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Node.js essentials v24.2.5

Copyright (c) 2024 Sergio Ridaura.

Description

Compilation of TypeScript modules for Node.js that I use frequently.

TypeScript modules for Node.js that I use frequently and have no place in other repositories.

NodeJS   TypeScript

Install

Install the module in your project.

npm i node-essentials-ridaura

Use

You have information about each of the modules in the source code, with comments and types

Example of module use:

import { helloWorld } from "node-essentials-ridaura";

console.log(helloWorld("in Node.js"));

Modules

  • helloWorld: Generates a personalized "Hello World!" greeting.
  • vitestClean: Clean up the log and performance files used in Vitest tests.
  • vitestGetDate: Get the current date in a specific format.
  • vitestGetFile: Retrieves the file name of the currently active Vitest test.
  • vitestGetFolder: Retrieves the folder name of the currently active Vitest test.
  • vitestGetText: Get the text of the currently active Vitest test.
  • vitestGetTitle: Retrieves the title of the currently active Vitest test.
  • vitestLog: Create a log file for the test in progress.
  • vitestPerfEnd: Ends performance testing and logs the results to a file.
  • vitestPerfInit: Initializes and returns performance metrics for testing purposes.

Author

Sergio Ridaura

Full stack developer in TypeScript with Astro.js, Next.js, React.js, Node.js and MongoDB. Quick development of high-performance applications and websites.

Email   GitHub   LinkedIn

MIT License

Copyright (c) 2024 Sergio Ridaura.

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.

24.2.5

3 months ago

24.2.2

3 months ago

24.2.4

3 months ago

24.2.1

3 months ago