@unegma/utilities-backend
v6.4.0
Published
Various Useful Utilities for Backend
Downloads
23
Readme
Utilities
Various Useful Utilities
Backend only (some functions on frontend will cause issues, maybe better to remove (crypto needs polyfill ie adding to module overides for webpack))
Aiming to keep this repo pretty small
ToDo
Questions: *
Usage
npm install @unegma/utilities
import * as utilities from "@unegma/utilities";
const imageData = utilities.getAttValue(gallery, 'name');
// Question Scout
client.firstName = utilities.getAttValue(fields, '5f454cdda96008830e523d1b', 'id');
// Tutor Cruncher
let day = utilities.getAttValue(job.extraAttributes, 'day');