npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

assertivity.prototype

v1.0.1

Published

JavaScript prototype to inherit a bunch of methods that conform boolean expressions.

Downloads

1

Readme

assertivity.prototype

Assertivity.prototype is a simple JavaScript object that holds a set of methods that return true or false.

1. Installation

~$ npm install assertivity.prototype

2. Usage

All the methods work more or less the same way.

First parameter: {Any} reference.

Other parameters: {Any}. Some methods have 0 additional parameters, 1 or infinite.

3. API

List of all the available methods:

Assertivity.prototype.it.is(reference,other)
Assertivity.prototype.it.is.true(reference)
Assertivity.prototype.it.is.truthy(reference)
Assertivity.prototype.it.is.false(reference)
Assertivity.prototype.it.is.falsy(reference)
Assertivity.prototype.it.is.equal.to(reference,other)
Assertivity.prototype.it.is.similar.to(reference,other)
Assertivity.prototype.it.is.like(reference,other)
Assertivity.prototype.it.is.different.from(reference,other)
Assertivity.prototype.it.is.defined(reference)
Assertivity.prototype.it.is.undefined(reference)
Assertivity.prototype.it.is.something(reference)
Assertivity.prototype.it.is.boolean(reference)
Assertivity.prototype.it.is.number(reference)
Assertivity.prototype.it.is.float(reference)
Assertivity.prototype.it.is.integer(reference)
Assertivity.prototype.it.is.func(reference)
Assertivity.prototype.it.is.string(reference)
Assertivity.prototype.it.is.date(reference)
Assertivity.prototype.it.is.promise(reference)
Assertivity.prototype.it.is.action(reference)
Assertivity.prototype.it.is.array(reference)
Assertivity.prototype.it.is.object(reference)
Assertivity.prototype.it.is.instance.of(reference,other)
Assertivity.prototype.it.is.more.than(reference,other)
Assertivity.prototype.it.is.more.or.equal.to(reference,other)
Assertivity.prototype.it.is.less.than(reference,other)
Assertivity.prototype.it.is.less.or.equal.to(reference,other)
Assertivity.prototype.it.is.empty(reference)
Assertivity.prototype.it.has(reference,other)
Assertivity.prototype.it.has.key(reference,other)
Assertivity.prototype.it.has.keys(reference,other)
Assertivity.prototype.it.has.value(reference,other)
Assertivity.prototype.it.has.values(reference,other)
Assertivity.prototype.it.is.not(reference,other)
Assertivity.prototype.it.is.not.true(reference)
Assertivity.prototype.it.is.not.truthy(reference)
Assertivity.prototype.it.is.not.false(reference)
Assertivity.prototype.it.is.not.falsy(reference)
Assertivity.prototype.it.is.not.equal.to(reference,other)
Assertivity.prototype.it.is.not.similar.to(reference,other)
Assertivity.prototype.it.is.not.like(reference,other)
Assertivity.prototype.it.is.not.different.from(reference,other)
Assertivity.prototype.it.is.not.defined(reference)
Assertivity.prototype.it.is.not.undefined(reference)
Assertivity.prototype.it.is.not.something(reference)
Assertivity.prototype.it.is.not.boolean(reference)
Assertivity.prototype.it.is.not.number(reference)
Assertivity.prototype.it.is.not.float(reference)
Assertivity.prototype.it.is.not.integer(reference)
Assertivity.prototype.it.is.not.func(reference)
Assertivity.prototype.it.is.not.string(reference)
Assertivity.prototype.it.is.not.date(reference)
Assertivity.prototype.it.is.not.promise(reference)
Assertivity.prototype.it.is.not.action(reference)
Assertivity.prototype.it.is.not.array(reference)
Assertivity.prototype.it.is.not.object(reference)
Assertivity.prototype.it.is.not.instance.of(reference,other)
Assertivity.prototype.it.is.not.more.than(reference,other)
Assertivity.prototype.it.is.not.more.or.equal.to(reference,other)
Assertivity.prototype.it.is.not.less.than(reference,other)
Assertivity.prototype.it.is.not.less.or.equal.to(reference,other)
Assertivity.prototype.it.is.not.empty(reference)
Assertivity.prototype.it.has.not(reference,other)
Assertivity.prototype.it.has.not.key(reference,other)
Assertivity.prototype.it.has.not.keys(reference,other)
Assertivity.prototype.it.has.not.value(reference,other)
Assertivity.prototype.it.has.not.values(reference,other)

4. Conclusion

This is a basic class only.