MCPcopy Index your code
hub / github.com/jezen/is-thirteen

github.com/jezen/is-thirteen @main sqlite

repository ↗ · DeepWiki ↗
46 symbols 62 edges 7 files 0 documented · 0%
README

Special thanks to @casdr for the logo

is-thirteen

Build Status

An npm package to check if a number is equal to 13.

Installation

npm --save i is-thirteen

or

yarn add is-thirteen

Usage

const isThirteen = require('is-thirteen');

// PLEAS READ THE SOURCE CODE BECAuse we moved fast and broke things

i̶s̶T̶h̶i̶r̶t̶e̶e̶n̶(̶2̶5̶)̶;̶ ̶/̶/̶ ̶f̶a̶l̶s̶e̶
i̶s̶T̶h̶i̶r̶t̶e̶e̶n̶(̶1̶3̶)̶;̶ ̶/̶/̶ ̶t̶r̶u̶e̶
const is = require('is-thirteen');
// Now with elegant syntax.

is(13).thirteen(); // true
is(12.8).roughly.thirteen(); // true
is(6).within(10).of.thirteen(); // true
is(2011).yearOfBirth(); // true

// check your math skillz
is(4).plus(5).thirteen();      // false
is(12).plus(1).thirteen();    // true
is(4).minus(12).thirteen();    // false
is(14).minus(1).thirteen();    // true
is(1).times(8).thirteen();    // false
is(26).divideby(2).thirteen();  // true

Test

npm test

License

WTFPL

A helpful tool by Jezen Thomas with helpful help from Gytis Daujotas and many fine folk.

Extension points exported contracts — how you extend this code

ThirteenMatcher (Interface)
(no doc)
is.d.ts
RoughlyThirteenMatcher (Interface)
(no doc)
is.d.ts
ReturningThirteenMatcher (Interface)
(no doc)
is.d.ts
InvertedThirteenMatcher (Interface)
(no doc)
is.d.ts
DivisibilityThirteenMatcher (Interface)
(no doc)
is.d.ts

Core symbols most depended-on inside this repo

thirteen
called by 221
is.d.ts
is
called by 220
is.js
base
called by 9
is.d.ts
plus
called by 4
is.d.ts
minus
called by 4
is.d.ts
times
called by 3
is.d.ts
crop_center
called by 2
Deep13_Image_Classifier/Deep13.py
convert_to_opencv
called by 1
Deep13_Image_Classifier/Deep13.py

Shape

Method 21
Interface 19
Function 6

Languages

TypeScript89%
Python11%

Modules by API surface

is.d.ts40 symbols
Deep13_Image_Classifier/Deep13.py5 symbols
is.js1 symbols

Dependencies from manifests, versioned

noop313.7.2 · 1×
tap21.1.3 · 1×

For agents

$ claude mcp add is-thirteen \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact