{"id":20873797,"url":"https://github.com/dbtek/notier","last_synced_at":"2025-07-21T07:34:12.812Z","repository":{"id":71683167,"uuid":"121412329","full_name":"dbtek/notier","owner":"dbtek","description":"Simple promise enabled wrapper around notification library notie.","archived":false,"fork":false,"pushed_at":"2018-11-17T07:10:03.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T09:47:16.472Z","etag":null,"topics":["in-app-notification","notie","notifications","promises"],"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/dbtek.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":"2018-02-13T17:23:32.000Z","updated_at":"2018-11-29T20:40:45.000Z","dependencies_parsed_at":"2023-03-05T18:15:26.306Z","dependency_job_id":null,"html_url":"https://github.com/dbtek/notier","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dbtek/notier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fnotier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fnotier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fnotier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fnotier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbtek","download_url":"https://codeload.github.com/dbtek/notier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fnotier/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266261360,"owners_count":23901290,"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","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":["in-app-notification","notie","notifications","promises"],"created_at":"2024-11-18T06:27:26.629Z","updated_at":"2025-07-21T07:34:12.799Z","avatar_url":"https://github.com/dbtek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notier\nSimple promise enabled wrapper around notification library notie.\n\n\n### Install\n```bash\n$ npm i -S notier\n# or\n$ yarn add notier\n```\n\n### Use\n```js\nvar notier = require('notier')\n\n// general notifier\nnotier('Hi there!')\n\n// success type notification\nnotier.success('Item acquired successfully')\n\n// error type notification\nnotier.error('Could not find any results!' )\n\n// confirm\nnotier.confirm('Are you sure? This cannot be undone.')\n  .then(data =\u003e {\n    // user accepted\n  })\n  .catch(() =\u003e {\n    // user rejected\n  })\n```\n\n\n### API\n\n**notier(message, opts)**  \n`message` is self explanatory. `opts` is [notie](https://github.com/jaredreich/notie) options. Returns promise.\n\n**notier.info(message, opts)**  \nInfo type notification.\n\n**notier.success(message, opts)**  \nSuccess type notification.\n\n**notier.warning(message, opts)**  \nWarning type notification.\n\n**notier.error(message, opts)**  \nError type notification.\n\n**notier.confirm(message, opts)**  \nConfirm notification. Returned promise will resolve on accept.\n\n**notier.setTexts({ submit, cancel })**  \nSet global texts to be used in actions.\n\n\n### Author\nIsmail Demirbilek - [@dbtek](https://twitter.com/dbtek)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbtek%2Fnotier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbtek%2Fnotier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbtek%2Fnotier/lists"}