{"id":21511939,"url":"https://github.com/msteckyefantis/omnipresent","last_synced_at":"2025-10-30T15:34:23.724Z","repository":{"id":57314347,"uuid":"136493669","full_name":"msteckyefantis/omnipresent","owner":"msteckyefantis","description":"Omnipresent: the npm module that lets you access your common logic everywhere🧞‍♀️. This library could be a lot better, although it's not about the code, it's about the philosophy. Disclaimer: I don't use this code myself, PRs always welcome though😁.","archived":false,"fork":false,"pushed_at":"2018-07-22T21:10:06.000Z","size":36,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T20:40:00.433Z","etag":null,"topics":["clean","clean-code","easy","easy-to-use","express","fast","global","globals","javascript","node","nodejs","react","reactjs","simple","tool","web","webapp","webpack","website"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/omnipresent","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msteckyefantis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-07T15:03:48.000Z","updated_at":"2023-08-18T15:22:50.000Z","dependencies_parsed_at":"2022-09-20T23:20:45.039Z","dependency_job_id":null,"html_url":"https://github.com/msteckyefantis/omnipresent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msteckyefantis%2Fomnipresent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msteckyefantis%2Fomnipresent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msteckyefantis%2Fomnipresent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msteckyefantis%2Fomnipresent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msteckyefantis","download_url":"https://codeload.github.com/msteckyefantis/omnipresent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244056432,"owners_count":20390720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clean","clean-code","easy","easy-to-use","express","fast","global","globals","javascript","node","nodejs","react","reactjs","simple","tool","web","webapp","webpack","website"],"created_at":"2024-11-23T22:18:06.904Z","updated_at":"2025-10-30T15:34:23.633Z","avatar_url":"https://github.com/msteckyefantis.png","language":"JavaScript","readme":"# Omnipresent🧞‍♀️\n[![npm version](https://badge.fury.io/js/omnipresent.svg)](https://badge.fury.io/js/omnipresent) [![Build Status](https://travis-ci.org/msteckyefantis/omnipresent.svg?branch=master)](https://travis-ci.org/msteckyefantis/omnipresent)\n\n### The npm module that lets you access your common logic everywhere\n\n\n#### Example:\n\n##### Setup your global logic in any file.\n\n```.js\n'use strict';\n\nconst { addGlobally } = require( 'omnipresent' );\n\n\naddGlobally({\n\n    usefulFunction: x =\u003e (2 * x),\n\n    utils: require( './utils' ),\n});\n```\n\n##### Now in any file you can access your global logic by doing the following:\n```.js\n'use strict';\n\nconst { usefulFunction } = require( 'omnipresent' );\n\n\nconsole.log( usefulFunction( 2 ) ); // logs 4\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsteckyefantis%2Fomnipresent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsteckyefantis%2Fomnipresent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsteckyefantis%2Fomnipresent/lists"}