Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fullstore

coderaiser36.7kMIT3.0.0

functional variables

store, variable, functional

readme

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'
  • 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

changelog

2020.03.25, v3.0.0

feature:

  • (fullstore) drop support of node < 4
  • (package) nodemon v2.0.2
  • (package) madrun v5.4.2
  • (package) putout v7.13.1
  • (package) eslint-plugin-putout v3.2.1
  • (package) eslint-plugin-node v11.0.0
  • (package) nyc v15.0.0

2019.09.09, v2.0.2

fix:

  • (fullstore) rm webpack

2019.09.09, v2.0.1

fix:

  • (npmignore) dist

2019.09.09, v2.0.0

feature:

  • (fullstore) drop legacy support
  • (package) nyc v14.1.1
  • (package) eslint v6.3.0
  • (package) redrun v6.0.0
  • (package) babel-preset-env
  • (package) webpack v4.1.0

2017.09.07, v1.1.0

feature:

  • (fullstore) add support of initial value
  • (package) webpack v3.0.0
  • (package) nyc v11.0.2
  • (package) eslint v4.0.0