New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@artossystems/configured

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artossystems/configured

This is a tiny dependency injection framework.

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-50%
Maintainers
6
Weekly downloads
 
Created
Source

Configured

This is a tiny dependency injection framework.

Installation

npm install @artossystems/configured

Usage Example

Configuration

In the file src/configured.js

const configured = require('@artossystems/configured')

module.exports = configured({
    item1: function constructItem1 () {
      // item 1 is constructed here
      return ret
    },

    item2: function () {
      // item 2 is constructed here
      // can refer to item1 as `this.item1` at which point it will be
      // constructed
      return ret
    }  
  })

Using

const configured = require('./configured')
configured.item1.method('param1')

FAQs

Package last updated on 30 Jun 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc