Function utilities
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
documentation
examples
hooks
scripts
test
.babelrc
.eslintignore
.eslintrc.json
.flowconfig
.gitignore
.npmignore
.npmrc
PLACEHOLDER.js
PLACEHOLDER.test.js
_PARTIAL_KEY.js
_PARTIAL_KEY.test.js
_argument_count.js
_argument_count.test.js
_merge_arguments.js
_merge_arguments.test.js
changelog.md
index.js
index.test.js
package.json
partial.js
partial.test.js
readme.md
set_function_arity.js
set_function_arity.test.js
set_function_name.js
set_function_name.test.js
set_function_name_and_arity.js
set_function_name_and_arity.test.js

readme.md

Wanted to set the name of a function? Or the expected number of arguments? The function module provides utilities to do these kinds of things.

Documentation

Documentation for 0.6.1 can be found here.

Contributing

Here is some information in case you would like to contribute to this project.

Organization

The source code for this package lives in the root of the repository. The package is built to the release/ directory which is ignored by git. The package.json along with some other files are also built to the release/ directory. This architecture allows us to have code at the root of the repository even if we are transpiling it.

Publishing

To publish a new version of this package you need to update its version, build it and publish it. This procedure is usually done with the following commands.

npm version patch
cd release/
npm publish