{"_id":"@cristianob/geomagnetism","_rev":"2-f7cc0e80b0020858e66bdc1ba3952bbf","name":"@cristianob/geomagnetism","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.2":{"name":"@cristianob/geomagnetism","version":"0.1.2","keywords":["geomag","geomagnetic","magnetic","field","north","declination","wmm"],"author":{"name":"Brandon Reavis, Cristiano Costa"},"license":"Apache-2.0","_id":"@cristianob/geomagnetism@0.1.2","maintainers":[{"name":"cristianobcosta","email":"cristiano@cristianocosta.me"}],"homepage":"https://github.com/cristianob/geomagnetism","bugs":{"url":"https://github.com/cristianob/geomagnetism/issues"},"dist":{"shasum":"03888441235ff594af48bba6361e692ba1633ed0","tarball":"https://registry.npmjs.org/@cristianob/geomagnetism/-/geomagnetism-0.1.2.tgz","fileCount":23,"integrity":"sha512-Dvi3e9IX1owaN1Fq9EIHK2pNJ8tk+5vkpVk7zd9vpg/7cZYFiW3mlrspkVOrBX8lxF5UxHOXkiqXtUeBc2N63g==","signatures":[{"sig":"MEQCIHBnMmti7UPJKZx3jxDLMNHo6nmtfA9i1e0Wx6yafDmsAiAtCH6GpwMhMIDMMnX95FMfUFik7rtKjEZpfpGMbbml7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47554},"main":"index.js","types":"geomagnetism.d.ts","gitHead":"b44ba8954219f174478ea5163d3c63c00eff694c","scripts":{"test":"mocha test","test-ci":"mocha -R tap"},"_npmUser":{"name":"cristianobcosta","email":"cristiano@cristianocosta.me"},"repository":{"url":"git+https://github.com/cristianob/geomagnetism.git","type":"git"},"_npmVersion":"10.8.2","description":"Computes geomagnetic field information","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"chai":"~4.2.0","mocha":"~5.x"},"_npmOperationalInternal":{"tmp":"tmp/geomagnetism_0.1.2_1730209571923_0.35923948701082575","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@cristianob/geomagnetism","version":"0.1.3","keywords":["geomag","geomagnetic","magnetic","field","north","declination","wmm"],"author":{"name":"Brandon Reavis, Cristiano Costa"},"license":"Apache-2.0","_id":"@cristianob/geomagnetism@0.1.3","maintainers":[{"name":"cristianobcosta","email":"cristiano@cristianocosta.me"}],"homepage":"https://github.com/cristianob/geomagnetism","bugs":{"url":"https://github.com/cristianob/geomagnetism/issues"},"dist":{"shasum":"1eda8cb400a1a50e7de55033c934078211cdde25","tarball":"https://registry.npmjs.org/@cristianob/geomagnetism/-/geomagnetism-0.1.3.tgz","fileCount":23,"integrity":"sha512-hPwHhIt8oCJ28rgUqZ/+EE87RB6o6avJMwC3I9mvTPgRpJMOiWtndMHp7pLkWpvNsHFTo1LsWhro3qIZQUpFWw==","signatures":[{"sig":"MEQCIBgUNaqw7E5HOB1vBSAShGVjbrCT5H5urR9W4Mj/5pTqAiBvYpEKe+ssx4UeLbR7u9sAO9a22nkt5r+hvrtvNqBWPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47289},"main":"index.js","types":"geomagnetism.d.ts","gitHead":"bb258a1580332a9cba8e6ae2d8d028ac7ccc3cde","scripts":{"test":"mocha test","test-ci":"mocha -R tap"},"_npmUser":{"name":"cristianobcosta","email":"cristiano@cristianocosta.me"},"repository":{"url":"git+https://github.com/cristianob/geomagnetism.git","type":"git"},"_npmVersion":"10.8.2","description":"Computes geomagnetic field information","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"chai":"~4.2.0","mocha":"~5.x"},"_npmOperationalInternal":{"tmp":"tmp/geomagnetism_0.1.3_1730209956430_0.7321995730799846","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@cristianob/geomagnetism","types":"geomagnetism.d.ts","version":"0.2.0","description":"Computes geomagnetic field information","main":"index.js","scripts":{"test":"mocha test","test-ci":"mocha -R tap"},"repository":{"type":"git","url":"git+https://github.com/cristianob/geomagnetism.git"},"keywords":["geomag","geomagnetic","magnetic","field","north","declination","wmm"],"devDependencies":{"mocha":"~5.x","chai":"~4.2.0"},"author":{"name":"Brandon Reavis, Cristiano Costa"},"license":"Apache-2.0","bugs":{"url":"https://github.com/cristianob/geomagnetism/issues"},"homepage":"https://github.com/cristianob/geomagnetism","_id":"@cristianob/geomagnetism@0.2.0","gitHead":"549c1987f304f2be0a6e9f8aa9b06626e774006d","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-bkMSaC1s95s8YumWsDwEe9vkEYLZfnmxQW6NWiJINB+0v0wwNwHYwje5mjEziYbtjhn0VQeCIdVvhelW+86qTg==","shasum":"7638caff07c4fe90e5becfe35b7ca0f0d05d5809","tarball":"https://registry.npmjs.org/@cristianob/geomagnetism/-/geomagnetism-0.2.0.tgz","fileCount":24,"unpackedSize":69400,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDej+J02/X+ky2A5lqhUsKJbHhs1uVDzbqFTWVT8VCQegIgfBDj8eyFTa/Qdr+PaB0jh2XbTUOH4s1V7pBjkYtBln4="}]},"_npmUser":{"name":"cristianobcosta","email":"cristiano@cristianocosta.me"},"directories":{},"maintainers":[{"name":"cristianobcosta","email":"cristiano@cristianocosta.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/geomagnetism_0.2.0_1734458328168_0.8643165702894233"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-29T13:46:11.815Z","modified":"2024-12-17T17:58:48.978Z","0.1.2":"2024-10-29T13:46:12.199Z","0.1.3":"2024-10-29T13:52:36.636Z","0.2.0":"2024-12-17T17:58:48.458Z"},"bugs":{"url":"https://github.com/cristianob/geomagnetism/issues"},"author":{"name":"Brandon Reavis, Cristiano Costa"},"license":"Apache-2.0","homepage":"https://github.com/cristianob/geomagnetism","keywords":["geomag","geomagnetic","magnetic","field","north","declination","wmm"],"repository":{"type":"git","url":"git+https://github.com/cristianob/geomagnetism.git"},"description":"Computes geomagnetic field information","maintainers":[{"name":"cristianobcosta","email":"cristiano@cristianocosta.me"}],"readme":"# geomagnetism\n[![NPM version](http://img.shields.io/npm/v/@cristianob/geomagnetism.svg?style=flat)](https://www.npmjs.com/package/@cristianob/geomagnetism)\n\nGet magnetic declination for given time and place. It's an adaptation of the [World Magnetic Model](http://www.ngdc.noaa.gov/geomag/WMM/DoDWMM.shtml) by the [NOAA National Geophysical Data Center](https://www.ngdc.noaa.gov/).\n\n``` sh\n$ npm install @cristianob/geomagnetism --save\n```\n\n### Usage\n\n```js\nconst geomagnetism = require('@cristianob/geomagnetism');\n\n// information for \"right now\"\nconst info = geomagnetism.model().point([44.53461, -109.05572]);\nconsole.log('declination:', info.decl);\n\n// use a specific date\nconst model = geomagnetism.model(new Date('12/25/2017'));\nconst info = model.point([44.53461, -109.05572]);\nconsole.log('declination:', info.decl);\n```\n\n## License\n\nCopyright &copy; 2015–2024 [Natural Atlas, Inc.](https://naturalatlas.com/), Cristiano Costa & [Contributors](https://github.com/cristianob/geomagnetism/graphs/contributors)\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","readmeFilename":"README.md"}