Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
joplin / usr / lib / joplin / resources / app / node_modules / fullstore
  ..
  dist
  legacy
  lib
  ChangeLog
  LICENSE
  README.md
  package.json
Size: Mime:

Fullstore License NPM version Dependency Status Build Status

Functional variables.

Install

npm i fullstore --save

How to use?

const fullstore = require('fullstore');
const user = fullstore();

const getValue = () => {
    return 'name';
};

user(getValue());

console.log(user());
// output
'name'
const fullstore = require('fullstore');
const user = fullstore('hello');

console.log(user());
// output
'hello'

Environments

In old node.js environments that not fully supports es2015, fullstore could be used with:

var fullstore = require('fullstore/legacy');

Related

  • zames - converts callback-based functions to Promises and apply currying to arguments

  • wraptile - translate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with a any count of arguments.

  • currify - translate the evaluation of a function that takes multiple arguments into evaluating a sequence of functions, each with a single or more arguments.

License

MIT