{"id":16294047,"url":"https://github.com/axetroy/tryify","last_synced_at":"2025-04-09T11:15:40.665Z","repository":{"id":57380439,"uuid":"95198338","full_name":"axetroy/tryify","owner":"axetroy","description":"Run the JavaScript code in the try{}catch(){} block","archived":false,"fork":false,"pushed_at":"2019-04-08T12:49:41.000Z","size":104,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T18:34:27.536Z","etag":null,"topics":["catch","error","try","tryify"],"latest_commit_sha":null,"homepage":"","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/axetroy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-23T08:09:14.000Z","updated_at":"2017-06-24T04:01:05.000Z","dependencies_parsed_at":"2022-09-05T13:51:35.096Z","dependency_job_id":null,"html_url":"https://github.com/axetroy/tryify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Ftryify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Ftryify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Ftryify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Ftryify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axetroy","download_url":"https://codeload.github.com/axetroy/tryify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248027413,"owners_count":21035594,"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":["catch","error","try","tryify"],"created_at":"2024-10-10T20:13:58.419Z","updated_at":"2025-04-09T11:15:40.613Z","avatar_url":"https://github.com/axetroy.png","language":"JavaScript","readme":"# tryify\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/axetroy/tryify.svg)](https://greenkeeper.io/)\n[![Build Status](https://travis-ci.org/axetroy/tryify.svg?branch=master)](https://travis-ci.org/axetroy/tryify)\n[![Dependency](https://david-dm.org/axetroy/tryify.svg)](https://david-dm.org/axetroy/tryify)\n![License](https://img.shields.io/badge/license-MIT-green.svg)\n[![Prettier](https://img.shields.io/badge/Code%20Style-Prettier-green.svg)](https://github.com/prettier/prettier)\n![Node](https://img.shields.io/badge/node-%3E=6.0-blue.svg?style=flat-square)\n[![npm version](https://badge.fury.io/js/tryify.svg)](https://badge.fury.io/js/tryify)\n\nRun the JavaScript code in the try{}catch(){} block\n\n## Installation\n```bash\nnpm install tryify\n```\n\n## Usage\n\n```javascript\nimport tryify from 'tryify';\n\ntryify(function login(name,pwd){\n  // ...your code run in try catch block\n})\n.catch(function(err){\n  // if error, will catch error object in this block\n})\n.run('axetroy','111111');\n```\n\n## Contributing\n\n```bash\ngit clone https://github.com/axetroy/tryify.git\ncd ./tryify\nyarn\n```\n\nYou can flow [Contribute Guide](https://github.com/axetroy/tryify/blob/master/contributing.md)\n\n## Contributors\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n| [\u003cimg src=\"https://avatars1.githubusercontent.com/u/9758711?v=3\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003eAxetroy\u003c/sub\u003e](http://axetroy.github.io)\u003cbr /\u003e[💻](https://github.com/gpmer/gpm.js/commits?author=axetroy) 🔌 [⚠️](https://github.com/gpmer/gpm.js/commits?author=axetroy) [🐛](https://github.com/gpmer/gpm.js/issues?q=author%3Aaxetroy) 🎨 |\n| :---: |\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\n## License\n\nThe [MIT License](https://github.com/axetroy/tryify/blob/master/LICENSE)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxetroy%2Ftryify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxetroy%2Ftryify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxetroy%2Ftryify/lists"}