{"id":25030241,"url":"https://github.com/fadhil-riyanto/chemistry","last_synced_at":"2025-03-30T19:25:56.445Z","repository":{"id":246144739,"uuid":"818827578","full_name":"fadhil-riyanto/chemistry","owner":"fadhil-riyanto","description":"chemistry and medicine datasheet library","archived":false,"fork":false,"pushed_at":"2024-06-27T10:17:38.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T21:59:27.377Z","etag":null,"topics":["chemistry","node-package","pubchem"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fadhil-riyanto.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":"2024-06-23T01:47:11.000Z","updated_at":"2024-06-28T04:05:30.000Z","dependencies_parsed_at":"2024-06-26T05:31:42.997Z","dependency_job_id":"4ac971b2-7e26-453b-95d1-3c23107090d1","html_url":"https://github.com/fadhil-riyanto/chemistry","commit_stats":null,"previous_names":["fadhil-riyanto/chemistry"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadhil-riyanto%2Fchemistry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadhil-riyanto%2Fchemistry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadhil-riyanto%2Fchemistry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadhil-riyanto%2Fchemistry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fadhil-riyanto","download_url":"https://codeload.github.com/fadhil-riyanto/chemistry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246367512,"owners_count":20765895,"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":["chemistry","node-package","pubchem"],"created_at":"2025-02-05T21:58:16.463Z","updated_at":"2025-03-30T19:25:56.436Z","avatar_url":"https://github.com/fadhil-riyanto.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chemistry\nget data from largest chemistry database\n\n```\nnpm i @fadhil-riyanto/chemistry\n```\n\n## how to search and getting Compound ID\n```ts\nimport { chemistry } from \"@fadhil-riyanto/chemistry\"\n\n(async () =\u003e {\n    let search = new chemistry.Search(\"1,4 dichlorobenzene\")\n    let result = await search.get()\n    console.log(result); // \u003c-- you I'll get autocomplete data here\n\n    console.log(await search.getCID(\"1-Bromo-2,4-dichlorobenzene\")) // \u003c-- fill desired keyword\n\n})()\n```\n\n## getting chemical info based on CID\n\n```ts\nimport { chemistry, imageType } from \"@fadhil-riyanto/chemistry\"\n\n(async () =\u003e {\n    let details = new chemistry.CompoundID(5360545)\n    console.log(details.image(imageType.IMG_3D))\n\n    console.log((await details.summary()))\n})()\n```\n\n## maintainer:\n\u003ca href=\"https://github.com/fadhil-riyanto\"\u003e@fadhil-riyanto\u003c/a\u003e\n\n## license\nGPL-2.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadhil-riyanto%2Fchemistry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffadhil-riyanto%2Fchemistry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadhil-riyanto%2Fchemistry/lists"}