fullstore

3.0.0 • Public • Published

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'

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.0
    20,389
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.0
    20,389
  • 2.0.2
    121
  • 2.0.1
    0
  • 2.0.0
    0
  • 1.1.0
    376
  • 1.0.0
    1

Package Sidebar

Install

npm i fullstore

Weekly Downloads

20,887

Version

3.0.0

License

MIT

Unpacked Size

5.21 kB

Total Files

5

Last publish

Collaborators

  • coderaiser