{"_id":"@antimatter-audio/d3-wavy","name":"@antimatter-audio/d3-wavy","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.5":{"name":"@antimatter-audio/d3-wavy","version":"0.1.5","main":"./build/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/antimatter-audio/d3-wavy.git"},"dependencies":{"big-integer":"^1.6.40","d3":"^6.2.0","decimal.js":"^10.2.1","nerdamer":"^1.1.5","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^4.0.0","require":"^2.4.20"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.5.1","babel-preset-react":"^6.24.1","webpack-cli":"^4.1.0"},"scripts":{"start":"react-scripts start","build":"webpack","test":"react-scripts test","eject":"react-scripts eject"},"eslintConfig":{"extends":"react-app"},"browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"_id":"@antimatter-audio/d3-wavy@0.1.5","gitHead":"bdb70a3c484ebe3886f5c103db627155e3bd0668","description":"d3-wavy is a simple and customizable React component library to build faster and beautiful sine waves using D3.","bugs":{"url":"https://github.com/antimatter-audio/d3-wavy/issues"},"homepage":"https://github.com/antimatter-audio/d3-wavy#readme","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-5mEyTBRUWvrReojMJOqZ6Ek+g2wvx9l+6lAp1i0pLVpWl0U0iUu3z2Slk8Doe6NcBZ2RzKDHf4fNhcBuCh8gIg==","shasum":"962d0a4e7cc12842235363e2ebef7087fcd9d594","tarball":"https://registry.npmjs.org/@antimatter-audio/d3-wavy/-/d3-wavy-0.1.5.tgz","fileCount":19,"unpackedSize":1536250,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDaScpfGNWxjESV9/bjeJOmEtmWEClQWB3kRW6yMoEndgIgXn24pZ6j8tgVTXSCxoe5Ii3jBqNfbpAkVIQapc0G/0Q="}]},"_npmUser":{"name":"antimatter-audio","email":"marrimg@gmail.com"},"directories":{},"maintainers":[{"name":"antimatter-audio","email":"marrimg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/d3-wavy_0.1.5_1754585584976_0.2907731207807258"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-07T16:53:04.877Z","0.1.5":"2025-08-07T16:53:05.219Z","modified":"2025-08-07T16:53:05.445Z"},"maintainers":[{"name":"antimatter-audio","email":"marrimg@gmail.com"}],"description":"d3-wavy is a simple and customizable React component library to build faster and beautiful sine waves using D3.","homepage":"https://github.com/antimatter-audio/d3-wavy#readme","repository":{"type":"git","url":"git+ssh://git@github.com/antimatter-audio/d3-wavy.git"},"bugs":{"url":"https://github.com/antimatter-audio/d3-wavy/issues"},"readme":"# d3-wavy\n\nd3-wavy is a simple and customizable React component library to build faster and beautiful sine waves using D3.\n\nEach wave has an adjustable amplitude, frequency, and position. Visually, the speed and starting placement of the wave can be modified as well. Multiple wave components can be created, then added together. By doing this, a single wave component is built in D3, which represents the sum of the two (or more) waves using additive synthesis.\n\nIn the future, there will be different types of waves that can be specified and built, such as saw waves and square waves.\n\n# Installation\n\n```js\n// with npm\nnpm install d3-wavy\n```\n\n# Usage\n\n#### Basic Sine Wave\n\n```js\nimport * as React from 'react';\nimport ReactDOM from 'react-dom';\n\nfunction App() {\n  // create a single wave\n  <Waveform amplitude={[1]} frequency={[5]} height={200} width={600} />\n}\n\nReactDOM.render(<App />, document.querySelector('#app'));\n```\n\n#### Additive Synthesis\n\n```js\nimport * as React from 'react';\nimport ReactDOM from 'react-dom';\n\nfunction App() {\n  // create a single wave\n  // combine two waves together\n  <Waveform amplitude={[0.5, 0.5]} frequency={[5, 10]} height={200} width={600} />\n}\n\nReactDOM.render(<App />, document.querySelector('#app'));\n```\n\n# License\nThis project is licensed under the terms of the [MIT license](https://github.com/dkharazi/d3-wave/blob/master/LICENSE).\n","readmeFilename":"README.md","_rev":"1-646254976dce657215e7660abf880c86"}