{"id":17377385,"url":"https://github.com/pradel/ionic-push","last_synced_at":"2026-02-17T15:33:24.489Z","repository":{"id":57276030,"uuid":"54071872","full_name":"pradel/ionic-push","owner":"pradel","description":"A node client for pushing android and ios notifications to your ionic app.","archived":false,"fork":false,"pushed_at":"2017-03-01T12:47:13.000Z","size":19,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-10T11:33:32.554Z","etag":null,"topics":[],"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/pradel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-16T22:46:35.000Z","updated_at":"2016-12-12T10:07:15.000Z","dependencies_parsed_at":"2022-09-16T09:51:09.702Z","dependency_job_id":null,"html_url":"https://github.com/pradel/ionic-push","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/pradel/ionic-push","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Fionic-push","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Fionic-push/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Fionic-push/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Fionic-push/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pradel","download_url":"https://codeload.github.com/pradel/ionic-push/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Fionic-push/sbom","scorecard":{"id":743196,"data":{"date":"2025-08-11","repo":{"name":"github.com/pradel/ionic-push","commit":"9b7fd106043a81de5dd9b7259f2445a7767af2e1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":3,"reason":"Found 7/23 approved changesets -- score normalized to 3","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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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: LICENCE:0","Info: FSF or OSI recognized license: MIT License: LICENCE: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 'master'"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 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"}}]},"last_synced_at":"2025-08-22T18:03:59.332Z","repository_id":57276030,"created_at":"2025-08-22T18:03:59.332Z","updated_at":"2025-08-22T18:03:59.332Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003712,"owners_count":26083610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-16T05:05:51.625Z","updated_at":"2025-10-10T11:33:55.725Z","avatar_url":"https://github.com/pradel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/ionic-push.svg)](https://badge.fury.io/js/ionic-push)\n[![Build Status](https://travis-ci.org/pradel/ionic-push.svg?branch=master)](https://travis-ci.org/pradel/ionic-push)\n[![Dependency Status](https://david-dm.org/pradel/ionic-push.svg)](https://david-dm.org/pradel/ionic-push)\n[![devDependency Status](https://david-dm.org/pradel/ionic-push/dev-status.svg)](https://david-dm.org/pradel/ionic-push#info=devDependencies)\n\n# ionic-push\n\nA node client for pushing android and ios notifications to your ionic app.\n\n## Install\n\n`npm install --save ionic-push`\n\n## Usage\n\n```javascript\nimport IonicPush from 'ionic-push';\n\nconst ionic = new IonicPush(myJwt, myProfile);\n\nionic.push({\n\t\"tokens\": [\"your\", \"device\", \"tokens\"],\n\t\"notification\": {\n    \t\"title\": \"Hi\",\n    \t\"message\": \"Hello world!\",\n    \"android\": {\n    \t\"title\": \"Hey\",\n        \"message\": \"Hello Android!\"\n    },\n    \"ios\": {\n        \"title\": \"Howdy\",\n        \"message\": \"Hello iOS!\"\n    }\n  }\n});\n```\n\nrequire\n\n```javascript\nvar IonicPush = require('ionic-push').default;\n\nvar ionic = new IonicPush(myJwt, myProfile);\n```\n\n## Api\n\n### new IonicPush\n\nCreate a new IonicPush instance.\n\n#### Arguments\n\n* `jwt` **string** _required_ [A valid ionic jwt](http://docs.ionic.io/v2.0.0-beta/docs/api-getting-started\n)\n\n* `profile` **string** _required_ [A valid ionic profile](http://docs.ionic.io/v2.0.0-beta/docs/security-profiles)\n\n* `options` **object** _optional_ Options object.\n\n* `options.Promise` **promise** _optional_ Promise to overwrite for requests.\n\n##### Returns\n\nAn IonicPush instance.\n\n##### Example\n\n```javascript\nimport IonicPush from 'ionic-push';\n\nconst ionic = new IonicPush(myJwt, myProfile);\n```\n\n### testToken\n\nTest if your token is valid.\n\n##### Returns\n\nA Promise.\n\n#### Example\n\n```javascript\nionic.testToken().then(function() {\n\tconsole.log('my token is ok');\n}).catch(function(err) {\n\tconsole.log('there is an error', err);\n});\n```\n\n### push\n\nPush a new notification.\n\n#### Arguments\n\n* `options` **object** _required_ [A valid ionic push object](http://docs.ionic.io/v2.0.0-beta/docs/push-sending-push#section-basic-api-usage)\n\n##### Returns\n\nA Promise.\n\n#### Example\n\n```javascript\nionic.push({\n\t\"tokens\": [\"your\", \"device\", \"tokens\"],\n\t\"notification\": {\n    \t\"title\": \"Hi\",\n    \t\"message\": \"Hello world!\",\n    \"android\": {\n    \t\"title\": \"Hey\",\n        \"message\": \"Hello Android!\"\n    },\n    \"ios\": {\n        \"title\": \"Howdy\",\n        \"message\": \"Hello iOS!\"\n    }\n  }\n}).then(function() {\n\tconsole.log('successfully sent push');\n}).catch(function(err) {\n\tconsole.log('there is an error', err);\n});\n```\n\n### checkStatus\n\nCheck the status of a notification.\n\n#### Arguments\n\n* `uuid` **object** _required_ [A valid ionic push uuid](http://docs.ionic.io/v2.0.0-beta/docs/push-sending-push#section-checking-the-status-of-a-push)\n\n##### Returns\n\nA Promise.\n\n#### Example\n\n```javascript\ncheckStatus(myuuid).then(function(data) {\n\tconsole.log(data);\n}).catch(function(err) {\n\tconsole.log('there is an error', err);\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradel%2Fionic-push","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpradel%2Fionic-push","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradel%2Fionic-push/lists"}