{"id":17228189,"url":"https://github.com/decompil3d/servicemeow","last_synced_at":"2026-03-06T08:34:17.390Z","repository":{"id":40422053,"uuid":"308740282","full_name":"decompil3d/servicemeow","owner":"decompil3d","description":"A Javascript client for the ServiceNOW REST API.","archived":false,"fork":false,"pushed_at":"2026-03-05T19:42:35.000Z","size":159,"stargazers_count":6,"open_issues_count":13,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-05T22:46:07.911Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/decompil3d.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-10-30T20:45:33.000Z","updated_at":"2024-05-02T04:17:34.000Z","dependencies_parsed_at":"2022-07-15T21:48:20.792Z","dependency_job_id":"8a9578a6-9dea-48dd-b623-f06decbe085e","html_url":"https://github.com/decompil3d/servicemeow","commit_stats":{"total_commits":58,"total_committers":5,"mean_commits":11.6,"dds":0.6551724137931034,"last_synced_commit":"ab192d02c3c914c186f1ee846d452d41c09d6423"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/decompil3d/servicemeow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decompil3d%2Fservicemeow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decompil3d%2Fservicemeow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decompil3d%2Fservicemeow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decompil3d%2Fservicemeow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decompil3d","download_url":"https://codeload.github.com/decompil3d/servicemeow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decompil3d%2Fservicemeow/sbom","scorecard":{"id":331541,"data":{"date":"2025-08-11","repo":{"name":"github.com/decompil3d/servicemeow","commit":"ab192d02c3c914c186f1ee846d452d41c09d6423"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 1/4 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:14","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/decompil3d/servicemeow/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/decompil3d/servicemeow/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/decompil3d/servicemeow/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/decompil3d/servicemeow/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/decompil3d/servicemeow/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/decompil3d/servicemeow/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/decompil3d/servicemeow/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/decompil3d/servicemeow/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/decompil3d/servicemeow/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/decompil3d/servicemeow/release.yml/main?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T03:46:23.054Z","repository_id":40422053,"created_at":"2025-08-18T03:46:23.054Z","updated_at":"2025-08-18T03:46:23.054Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30167963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["hacktoberfest"],"created_at":"2024-10-15T04:22:01.826Z","updated_at":"2026-03-06T08:34:17.353Z","avatar_url":"https://github.com/decompil3d.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![CI](https://github.com/decompil3d/servicemeow/workflows/CI/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/decompil3d/servicemeow/badge.svg?branch=main)](https://coveralls.io/github/decompil3d/servicemeow?branch=main)\n\n# ServiceMeow\n\nA Node.js client for the ServiceNOW REST API.\n\n## Installation\n\nRun `npm install servicemeow` to install the package.\n\n## Basic Usage\n\n```\nconst ServiceMeow = require('servicemeow');\n\nconst sm = new ServiceMeow('https://\u003cINSTANCE\u003e.service-now.com','\u003cUSERNAME\u003e','\u003cPASSWORD\u003e');\n\nconst record = await sm.getSingleRecord('\u003cTABLE_NAME\u003e', \u003cSYS_ID\u003e);\n```\n\n## Supported Actions\n\n```js\n// returns JSON of record\ngetSingleRecord('\u003cTABLE_NAME\u003e', '\u003cSYS_ID\u003e');\n\n// returns sys_id of created record\ncreateRecord('\u003cTABLE_NAME\u003e', { /* \u003cJSON_RECORD_BODY\u003e */ });\n\n// returns true if success, false otherwise\ndeleteSingleRecord('\u003cTABLE_NAME\u003e', '\u003cSYS_ID_OF_RECORD_TO_BE_DELETED\u003e');\n\n// returns sys_id of updated record\nupdateSingleRecord('\u003cTABLE_NAME\u003e', { /* \u003cJSON_RECORD_BODY\u003e */ }, '\u003cSYS_ID_OF_RECORD_TO_BE_DELETED\u003e');\n\n// Returns JSON of list of record(s). Use query builder for building advanced serviceNOW  encoded query\ngetRecords('\u003cTABLE_NAME\u003e', '\u003cENCODED_QUERY\u003e');\n\n// returns count of records matching given query\ngetRecordCount('\u003cTABLE_NAME\u003e', '\u003cENCODED_QUERY\u003e');\n```\n\n## Example Usage of Above Actions\n\n```js\nconst record = await sm.getSingleRecord('\u003cTABLE_NAME\u003e', '\u003cSYS_ID\u003e');\n\nconst id = await sm.createRecord('\u003cTABLE_NAME\u003e', {'endpoint': 'published'});\n\nconst deleted = await sm.deleteSingleRecord('\u003cTABLE_NAME\u003e', '\u003cSYS_ID\u003e');\n\nconst id = await servicenowClient.updateSingleRecord('\u003cTABLE_NAME\u003e', { /* \u003cJSON_RECORD_BODY\u003e */ }, '\u003cSYS_ID\u003e');\n\n// Consider using QueryBuilder to create encoded queries\nconst records = await servicenowClient.getRecords('\u003cTABLE_NAME\u003e', '\u003cENCODED_QUERY\u003e');\n\nconst count = await sm.getRecordCount('\u003cTABLE_NAME\u003e', '\u003cENCODED_QUERY\u003e');\n```\n\n## Query Builder Example Usage\n\n```js\nconst { QueryBuilder } = require('servicemeow');\nconst queryBuilder = new QueryBuilder();\n\n// Less than '\u003c'\nconst query = queryBuilder.field('sys_created_on').lessThan('2019-02-15 14:30:18');\n\n// Less than using Date object\nconst query = queryBuilder.field('sys_created_on').lessThan(new Date());\n\n// Greater than using Date object\nconst query = queryBuilder.field('sys_created_on').lessThan(new Date());\n\n// compound query using and, lessThan, greaterThan\nconst query = queryBuilder.field('number').greaterThan('S').and().field('sys_created_on').lessThan(new Date());\n\n// Between two dates, numbers, Strings \nconst query = queryBuilder.field('sys_created_on').between('2015-02-15 14:30:18', '2019-02-18 14:30:18');\nconst query = queryBuilder.field('risk_score').between(47, 52);\nconst query = queryBuilder.field('number').between('A', 'Z');\n\n// Empty String query\nconst query = queryBuilder.field('description').isEmptyString();\n\n// Example of 'IN' operator\nconst query = queryBuilder.field('number').isOneOf(['INC0010122','INC0010120']);\n\n// Example of 'NOT IN' operator\nconst query = queryBuilder.field('foo').isNoneOf(['bar', 'baz']);\n\n// Is anything operator\nconst query = queryBuilder.field('number').isAnything();\n\n// Contains operator\nconst query = queryBuilder.field('number').contains('\u003cYOUR_STRING\u003e');\n\n// Order ascending/descending\nconst query = queryBuilder.field('number').contains('\u003cYOUR_STRING\u003e').or().contains('\u003cOTHER_STRING\u003e').orderAscending();\n\n// Multiple conditions on a single field\nconst query = queryBuilder.field('number').contains('\u003cYOUR_STRING\u003e').and().contains('\u003cOTHER_STRING\u003e').orderDescending();\n\n// Ends with operator\nconst query = queryBuilder.field('number').endsWith('\u003cYOUR_STRING\u003e');\n\n// Does not contain\nconst query = queryBuilder.field('number').doesNotContain('\u003cYOUR_STRING\u003e');\n\n// equals\nconst query = queryBuilder.field('number').equals('\u003cYOUR_STRING\u003e/\u003cARRAY\u003e');\n\n// isEmpty\nconst query = queryBuilder.field('number').isEmpty();\n\n// isNotEmpty\nconst query = queryBuilder.field('number').isNotEmpty();\n\n// Example of 'SAMEAS' operator\nconst query = queryBuilder.field('left').isSameAs('middle');\n\n// Example of 'NSAMEAS' operator\nconst query = queryBuilder.field('left').isNotSameAs('right');\n\n// Example of 'GT_FIELD' operator\nconst query = queryBuilder.field('foo').greaterThanField('bar');\n\n// Example of 'GT_OR_EQUALS_FIELD' operator\nconst query = queryBuilder.field('foo').greaterThanOrEqualsField('bar');\n\n// Example of 'LT_FIELD' operator\nconst query = queryBuilder.field('foo').lessThanField('bar');\n\n// Example of 'LT_OR_EQUALS_FIELD' operator\nconst query = queryBuilder.field('foo').lessThanOrEqualsField('bar');\n\n// Example of 'RELATIVEGT' operator\nconst query = queryBuilder.field('sys_updated_on').since(1, 'hour');\n\n// Example of 'RELATIVELT' operator\nconst query = queryBuilder.field('sys_updated_on').notSince(10, 'minute');\n\n// Example of 'MORETHAN' operator\nconst query = queryBuilder.field('sys_created_on').isMoreThan(1, 'year').before('sys_updated_on');\n\n// Example of 'LESSTHAN' operator\nconst query = queryBuilder.field('sys_created_on').isLessThan(12, 'hour').before('sys_updated_on');\n```\n\n## Typings\n\nTypings are automatically generated from the JSDoc comments prior to npm publish. As such, declaration files are\nincluded in the npm package distribution but not committed to git.\n\n## Acknowledgements\n\nServiceMeow was forked from [`ServiceNOW-Client`](https://github.com/Kaushal28/ServiceNOW-Client) by\n[Kaushal Shah](https://github.com/Kaushal28).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecompil3d%2Fservicemeow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecompil3d%2Fservicemeow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecompil3d%2Fservicemeow/lists"}