npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

max-argument-size

1.1.0

@kevva

npmHomeRepoSnykSocket
Downloads:10
$ npm install max-argument-size
DailyWeeklyMonthlyYearly

max-argument-size Build Status

Get maximum argument size

Install

$ npm install --save max-argument-size

Usage

const maxArgumentSize = require('max-argument-size');

maxArgumentSize().then(max => {
	console.log(max);
	//=> 262144
});

API

maxArgumentSize()

Returns a Promise for a number with the maximum argument size.

maxArgumentSize.sync()

Returns a number with the maximum argument size.

License

MIT © Kevin Martensson