fullstore
functional variables
Last updated 6 months ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install fullstore 
SYNC missed versions from official npm registry.

Fullstore License NPM version Build Status

Functional variables.

Install

npm i fullstore --save

How to use?

import {fullstore} from 'fullstore';

const user = fullstore();

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

user(getValue());

console.log(user());
// output
'name';
import {fullstore} from '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

Current Tags

  • 4.0.3                                ...           latest (6 months ago)

10 Versions

  • 4.0.3                                ...           6 months ago
  • 4.0.2                                ...           8 months ago
  • 4.0.1                                ...           8 months ago
  • 4.0.0                                ...           a year ago
  • 3.0.0                                ...           7 years ago
  • 2.0.2                                ...           7 years ago
  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.0                                ...           10 years ago

© 2010 - cnpmjs.org x YWFE | Home | YWFE