Socket
Book a DemoInstallSign in
Socket

@josharsh/factoryjs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@josharsh/factoryjs

Javascript's native capabilities expressed as functions

1.0.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Factory.js

Core capabilities of Javascript expressed in functions

How I use Factory.js

I use Factory.js to help early CS learners understand logic and not get overwhelmed at CS-First. It also helps them to be creative to solve a problem using limited options.

Factory.js is Evolving

The idea is to support minimal operations in programming in functional way.

How to Use

var Factory=require("./lib/Factory")
let listofPeople=Factory.NewContainer("Harsh","John","Elizabeth","Murphy");
let nameOfCountry="India";
let getLength=Factory.Operation(nameOfCountry,()=>{return nameOfCountry.length;})
listofPeople.insert("Biblo")
Factory.Log(listofPeople.view())

Keywords

factoryjs

FAQs

Package last updated on 18 Jul 2021

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.