{"id":44432157,"url":"https://github.com/vyarmak/check-tool","last_synced_at":"2026-02-12T13:27:55.697Z","repository":{"id":177430927,"uuid":"95269312","full_name":"vyarmak/check-tool","owner":"vyarmak","description":"Simple set of tools to check variables / properties","archived":false,"fork":false,"pushed_at":"2018-03-06T00:53:17.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T20:03:52.052Z","etag":null,"topics":["check","javascript","javascript-library","javascript-tools","tools"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vyarmak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-24T01:58:25.000Z","updated_at":"2017-06-25T20:55:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d51badc-0651-4c37-a376-e3802608652d","html_url":"https://github.com/vyarmak/check-tool","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.09090909090909094,"last_synced_commit":"7b5685fafa4910f61575bc771b1f8eb671036113"},"previous_names":["vyarmak/check-tool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vyarmak/check-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vyarmak%2Fcheck-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vyarmak%2Fcheck-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vyarmak%2Fcheck-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vyarmak%2Fcheck-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vyarmak","download_url":"https://codeload.github.com/vyarmak/check-tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vyarmak%2Fcheck-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29366995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["check","javascript","javascript-library","javascript-tools","tools"],"created_at":"2026-02-12T13:27:54.702Z","updated_at":"2026-02-12T13:27:55.691Z","avatar_url":"https://github.com/vyarmak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check-tool [![Build Status](https://travis-ci.org/vyarmak/check-tool.svg?branch=master)](https://travis-ci.org/vyarmak/check-tool)\nTired of passing it from project to project - put this simple set of functions to check variables into a package. Includes check of undefined / defined / defined and not null / defined and not empty / is number / is function is object\n\n# Install\n\n```\n$ npm install check-tool\n```\n\n# Usage\n\n```js\nvar checkTool = require('check-tool')\n\nif (checkTool.isDefined(varaiable)) {\n\t// do something...\n}\n\nif (checkTool.isNotNull(varaiable)) {\n\t// do something...\n}\n\nif (checkTool.isNotEmpty(varaiable)) {\n\t// do something...\n}\n\nif (checkTool.isEmpty(varaiable)) {\n\t// do something...\n}\n\nif (checkTool.isNotNaN(varaiable)) {\n\t// do something...\n}\n\nif (checkTool.isObject(varaiable)) {\n\t// do something...\n}\n\nif (checkTool.isFunction(varaiable)) {\n\t// do something...\n}\n\nif (checkTool.isNumber(varaiable)) {\n\t// do something...\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvyarmak%2Fcheck-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvyarmak%2Fcheck-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvyarmak%2Fcheck-tool/lists"}