</>PackageGraphPackageGraph

is-arguments

npmv1.2.0TypeScript

Is this an arguments object? It's a harder question than you think.

Adopt with care

is-arguments is usable, with caveats. Last published 636 days ago.

  • AAdoption: grade A, Excellent.

    38.9M downloads per week and 2 known dependents.

  • CMaintenance: grade C, Fair — worth a look.

    Last published 636 days ago.

  • BWeight: grade B, Good.

    Pulls in 13 transitive packages, about 228 KB installed (at least — some of the tree is still being crawled).

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding is-arguments to a project.

2
Direct dependencies

Runtime packages this one declares itself.

13
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

228 KB
Install size

Unpacked size of this package plus its entire runtime tree.

3
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

MIT

Every license you inherit by installing is-arguments, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >= 0.4
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the is-arguments README.

var isArguments = require('is-arguments');
var assert = require('assert');

assert.equal(isArguments({}), false);
assert.equal(isArguments([]), false);
(function () {
	assert.equal(isArguments(arguments), true);
}())

is-arguments vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
is-argumentsthis page38.9M2MIT1 year ago
es-define-property131.3M4MIT1 day ago
is-plain-obj112.9M1MIT1 day ago
call-bind80.7M5MIT1 day ago
define-data-property02MIT1 day ago
es-object-atoms01MIT1 day ago

Dependencies

Declared by is-arguments v1.2.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (13)

@arethetypeswrong/cli ^0.17.1@ljharb/eslint-config ^21.1.1@ljharb/tsconfig ^0.2.2@types/tape ^5.6.5auto-changelog ^2.5.0encoding ^0.1.13eslint =8.8.0in-publish ^2.0.1npmignore ^0.3.1nyc ^10.3.2safe-publish-latest ^2.0.0tape ^5.9.0typescript next

Used by

Popular packages that depend on is-arguments.

Relationship graph

Dependencies (left) and dependents (right) of is-arguments.

Frequently installed together

Release history

1 release in the last two years, typically about 476 days apart.

Recent versions of is-arguments
VersionPublishedSizeLicense
1.2.0latest1 year ago32 KBMIT
1.1.15 years ago28 KBMIT
1.1.05 years ago31 KBMIT
1.0.47 years ago19 KBMIT
1.0.37 years ago19 KBMIT
1.0.211 years agoMIT
1.0.111 years agoMIT
1.0.012 years agoMIT
0.1.012 years agoMIT

Overview

is-arguments is an npm package that is this an arguments object? It's a harder question than you think. It is extremely widely used, with about 38.9M downloads per week and 2 known dependents in the graph. The latest version is 1.2.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need is this an arguments object? It's a harder question than you think and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (38.9M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use is-arguments?

is-arguments is usable, with caveats. Last published 636 days ago.

How do I install is-arguments?

Run `npm install is-arguments` to add is-arguments to your npm project.

How many dependencies does is-arguments have?

is-arguments declares 15 direct dependencies and pulls in 13 packages in total once its runtime tree is resolved totalling about 228 KB on disk.

What license is is-arguments released under?

is-arguments is distributed under the MIT license.

How popular is is-arguments?

is-arguments has approximately 38,869,974 downloads per week and 2 known dependent packages.

Is is-arguments still maintained?

The most recent release of is-arguments (v1.2.0) was published 1 year ago.

Does is-arguments run install scripts?

No. is-arguments does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.