Packages by emahuni
sails-util-micro-apps
Load micro-APPs (models, controllers, helpers, services, config and policies) from a hook's directory structure or specified directories and inject them into the main Sails app.
sails-hook-extra-orm
Emanimation Technologies Extra ORM function for Sails ORM. This introduces polymorphic associations, deep populate, dynamic attribute methods, soft deletes.
runit-services-admin
Unix/Linux services administration for runit. It is mainly meant to be used on termux, but should work on any other Unix systems using runit.
contrace
Log to console showing line number, file and method from where the log originated. Also nicely highlight code for functions, objects, arrays etc. using an ide like feel.
sails-hook-deep-orm
Emanimation Technologies Deep ORM hook for Sails ORM. This introduces polymorphic associations, deep population, inclusive population syntax and more, [dynamic attribute methods, soft deletes]
extend-module
Extend given module(s) with specified object. Use for extending object modules that you require and install as npm packages.
sails-tests-harness
Initialize an opinionated Mocha Framework Tests harness including a SailsJs unit-test file generator. Module uses a in-memory MongoDB to make sure tests are extremely fast.
fuzzy-predicate-leven
Filter an array of objects (or an array of just about anything) down to only include those objects with properties somewhat matching the provided query, even using a leventshein threshold.
graphql-defaults
Generate default JS Objects from GraphQL query using a provided schema. The result is much like the result the query will produce from the server howbeit with type defaults. eg: string will be "", number: 0 etc
vue-teledom
A directive supported plugin for teleporting DOM to another location in Vue.js 2.0 components.
await-until
Utils for waiting or running `predicate` fn after every `interval` until it returns `truthy` or run out of `timeout`. Timeout a promise or wait for a property mutation in an Object.
vue-hooked-async-events
Easier and more useful Vue2.x event bus with zero dependencies. Features include expirable, lingering and catch-up async events and listeners (auto-removed), and a customizable atomic API.
em-async-events
Easier and more useful events system that has a Vue2.x plugin. Features include async events and listeners, expirable, lingering and catch-up async events and listeners (auto-removed), and a customizable atomic API.
line-stack
Get current line stack information such as line number, method, file, filename, callSites, and more. Can search through callSites for/skip a particular functionName, typeName, or filename.
whats-circular
Like what-is-circular, but returns the paths to the all circular references found, and directly to the offending key.
@emahuni/clone-deep
Like the original clone-deep, it will recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives, setters, getters and circular objects cloning. Clones object property descriptors info as well.
strapi-plugin-vitest
Strapi plugin creates a Vitest unit testing harness, that can be used to test Strapi apps and standalone plugins. It loads Strapi as a singleton that can be used by multiple independent test files. It can also be used in watch mode.
override.env
Override dotenv configuration using a given .env file. This is a missing piece of the dotenv lib.
@emahuni/trans-peerdeps
List and install transitive peerDependencies of your direct, development, optional or peer dependencies
where-are
Find where any of the requested files are starting from given directory or cwd. Also satisfy predicate if given.
@emanimation/strapi-utils
A package containing various utils for use with Strapi applications and plugins.
@emanimation/js-serial-js
Safely serialize JavaScript expressions to/from a string. This includes Dates, BigInts, Functions, Maps, Sets, circular objs and more.
@emanimation/pinia-plugin-history
Create a history (undo/redo) in your pinia 🍍 stores! for various types of state values, which include Dates, BigInts, Functions, Maps, Sets, circular objs and more.
@emahuni/directus.distilled-app-internals
Distilled Directus App Internals. Selection of Composables, __utils__ and utils from Directus app for use in extensions and other code that works in Directus App Studio. The version of this package uses semver with an additional '-app-n.n.n' to denote the
@emahuni/directus.app.guts
Exposition of Directus App Internals. Selection of Composables, __utils__ and utils from Directus app for use in extensions and other code that works in Directus App Studio. The version of this package uses semver with an additional '-app-n.n.n' to denote