Socket
Socket
Sign inDemoInstall

@candlefw/cfw

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @candlefw/cfw

CandleFW Library Omnibus


Version published
Maintainers
1
Created

Readme

Source

cfw.cfw

CandleFW Meta Library

v1.0.0

BRIEF

TODO - FILL THIS IN!



const global_object: any=(typeof global!=="undefined")?global:window, cfw= global_object.cfw||{};

function addModuleToCFW ( module = ,  name = ): any {

    if ( global_object ) {

        if ( !global_object.cfw||!global_object.cfw[name] ) {

            if ( typeof global_object.cfw=="undefined" ) {global_object.cfw = cfw;}

            Object.defineProperty(

                global_object.cfw,

                name,

                {value:module, writable:false, configurable:false}
            );
        }

        return global_object[name];
    }

    return null;
}

export;

{cfw, addModuleToCFW;}

;

INSTALL

npm
$ npm install --save @candlefw/cfw
yarn
$ yarn add @candlefw/cfw

DOCS

Docs

FAQs

Last updated on 07 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc