Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

superfactorial

1.0.0 • Public • Published

superfactorial

Node.js JavaScript module to calculate the superfactorial value of a number.

npm install superfactorial

Syntax

sf(value);

Parameters

  • value The positive number value to calculate.

Return value

number superfactorial of value.

Examples

const sf = require('superfactorial');
 
console.log( sf(0) ); // 1
console.log( sf(1) ); // 1
console.log( sf(2) ); // 2
console.log( sf(3) ); // 12
console.log( sf(4) ); // 288
console.log( sf(5) ); // 34560
 

install

npm i superfactorial

Downloadsweekly downloads

0

version

1.0.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability