fullstore
functional variables
Last updated 3 months ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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?

const fullstore = require('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.0                                ...           latest (3 months ago)

7 Versions

  • 4.0.0                                ...           3 months ago
  • 3.0.0                                ...           6 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                                ...           9 years ago

Copyright 2013 - present © cnpmjs.org | Home |