{"id":21691526,"url":"https://github.com/scientific-dev/node-periodic-table","last_synced_at":"2026-05-04T09:31:24.528Z","repository":{"id":136131760,"uuid":"288145655","full_name":"scientific-dev/node-periodic-table","owner":"scientific-dev","description":"Gives data of elements of Chemistry Periodic Table Elements","archived":false,"fork":false,"pushed_at":"2020-08-20T11:35:44.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T13:26:13.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scientific-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-17T10:04:32.000Z","updated_at":"2020-08-20T11:35:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"7650e44a-ac87-40bc-8b17-f75390842659","html_url":"https://github.com/scientific-dev/node-periodic-table","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scientific-dev/node-periodic-table","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientific-dev%2Fnode-periodic-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientific-dev%2Fnode-periodic-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientific-dev%2Fnode-periodic-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientific-dev%2Fnode-periodic-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scientific-dev","download_url":"https://codeload.github.com/scientific-dev/node-periodic-table/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientific-dev%2Fnode-periodic-table/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262697250,"owners_count":23349890,"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":[],"created_at":"2024-11-25T17:38:56.168Z","updated_at":"2026-05-04T09:31:19.502Z","avatar_url":"https://github.com/scientific-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node-Periodic-Table\n\nIt will give you the data of a chemical element by name, symbol or number!\n\n\u003e **To Note:** Me and my team created the package. But the JSON Data of chemical elements which is took from an open source code by [https://github.com/Bowserinator](https://github.com/Bowserinator). We just made it available it as in NPM Package\n\n# Quick Example\n```js \nconst npt = require('node-periodic-table')\n```\n\nWays to get Info of an element\n```js \n// By name\nnpt.getByName('Hydrogen')\n\n// By number of the element in Periodic Table\nnpt.getByNumber(1)\n\n// By chemical symbol of an element\nnpt.getBySymbol('H')\n\n// By query\nnpt.getByQuery('Hydro')\n\n// Get Version\nnpt.version\n```\n\n# Output\nOutput would be in JSON Form like this\n```json \n{\n        \"name\": \"Hydrogen\", \n        \"appearance\": \"colorless gas\", \n        \"atomic_mass\": 1.008, \n        \"boil\": 20.271, \n        \"category\": \"diatomic nonmetal\", \n        \"color\": null, \n        \"density\": 0.08988, \n        \"discovered_by\": \"Henry Cavendish\", \n        \"melt\": 13.99, \n        \"molar_heat\": 28.836, \n        \"named_by\": \"Antoine Lavoisier\", \n        \"number\": 1, \n        \"period\": 1, \n        \"phase\": \"Gas\", \n        \"source\": \"https://en.wikipedia.org/wiki/Hydrogen\", \n        \"spectral_img\": \"https://en.wikipedia.org/wiki/File:Hydrogen_Spectra.jpg\", \n        \"summary\": \"Hydrogen is a chemical element with chemical symbol H and atomic number 1. With an atomic weight of 1.00794 u, hydrogen is the lightest element on the periodic table. Its monatomic form (H) is the most abundant chemical substance in the Universe, constituting roughly 75% of all baryonic mass.\", \n        \"symbol\": \"H\", \n        \"xpos\": 1, \n        \"ypos\": 1, \n        \"shells\": [\n            1\n        ], \n        \"electron_configuration\": \"1s1\", \n        \"electron_configuration_semantic\": \"1s1\", \n        \"electron_affinity\": 72.769, \n        \"electronegativity_pauling\": 2.2, \n        \"ionization_energies\": [\n            1312\n        ]\n    }\n```\n\n# Join our Discord Server\n[https://discord.gg/FrduEZd](https://discord.gg/FrduEZd)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscientific-dev%2Fnode-periodic-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscientific-dev%2Fnode-periodic-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscientific-dev%2Fnode-periodic-table/lists"}