{"_id":"@candlefinance/haptics","_rev":"6-5652af8326af8fc2b430c66624bc131c","name":"@candlefinance/haptics","description":"Haptic feedback generator with support for playing patterns.","dist-tags":{"latest":"0.3.3"},"versions":{"0.2.2":{"name":"@candlefinance/haptics","version":"0.2.2","keywords":["react-native","ios","android"],"author":{"url":"https://candle.fi","name":"Gary Tokman","email":"gary@trycandle.com"},"license":"MIT","_id":"@candlefinance/haptics@0.2.2","maintainers":[{"name":"liambutler-lawrence","email":"liam@trycandle.com"},{"name":"6ary","email":"gary@trycandle.com"},{"name":"gtokman","email":"contact@trycandle.com"}],"homepage":"https://github.com/candlefinance/haptics#readme","bugs":{"url":"https://github.com/candlefinance/haptics/issues"},"dist":{"shasum":"7dcca24c1e977aded83fb1533716c6e96081affe","tarball":"https://registry.npmjs.org/@candlefinance/haptics/-/haptics-0.2.2.tgz","fileCount":22,"integrity":"sha512-mS60CNoZ6TiQY3GAwgu21uA3Z2Mx13dCv+iH8BFGdWaJ3SmaBFdC+QugsuO17022EmFWDaKvoexe7OI/1ofduw==","signatures":[{"sig":"MEUCIQCXYqgj9qL9766NTXhXiZtpcYAD52dP0PONXdnu0s2sgQIgS8JNAdZCJhABjQaftnt3QEzu7rFRaPVdg64CXuwJf3I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29028},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","engines":{"node":">= 18.0.0"},"gitHead":"9ba75e072893e5c31498501a438454dfa1f34d91","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @candlefinance/haptics-example","prepack":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"6ary","email":"gary@trycandle.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/candlefinance/haptics.git","type":"git"},"workspaces":["example"],"_npmVersion":"9.5.1","description":"Haptic feedback generator with support for playing patterns.","directories":{},"resolutions":{"@types/react":"17.0.21"},"_nodeVersion":"18.16.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^28.1.1","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.4.1","del-cli":"^5.0.0","prettier":"^2.0.5","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.0.2","@types/jest":"^28.1.2","pod-install":"^0.1.0","@types/react":"~17.0.21","react-native":"0.72.5","@types/react-native":"0.70.0","@evilmartians/lefthook":"^1.2.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","react-native-builder-bob":"^0.22.0","@react-native/eslint-config":"^0.72.2","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/haptics_0.2.2_1695916406761_0.7743771112453754","host":"s3://npm-registry-packages"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"0.2.3":{"name":"@candlefinance/haptics","version":"0.2.3","keywords":["react-native","ios","android"],"author":{"url":"https://candle.fi","name":"Gary Tokman","email":"gary@trycandle.com"},"license":"MIT","_id":"@candlefinance/haptics@0.2.3","maintainers":[{"name":"liambutler-lawrence","email":"liam@trycandle.com"},{"name":"6ary","email":"gary@trycandle.com"},{"name":"gtokman","email":"contact@trycandle.com"}],"homepage":"https://github.com/candlefinance/haptics#readme","bugs":{"url":"https://github.com/candlefinance/haptics/issues"},"dist":{"shasum":"f690118ce1a9426016e44ca9431f177b16b9a943","tarball":"https://registry.npmjs.org/@candlefinance/haptics/-/haptics-0.2.3.tgz","fileCount":22,"integrity":"sha512-miASmJ0sm1x8CQKhyB309IiJVy7UXWI2/DA/8LeqWr0nrQ6D34XF3PDl5o5+TWLE+Gbx4BxVULERHg7BaPEeWQ==","signatures":[{"sig":"MEUCICID4dBpYso/w/ZEpKt1irzmCiV2IkdTgc6Z6FIxlI0tAiEApIiNpc+rvyUucfYeC2wxYAFNOwiv0Y4q8juKdQbHreQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29880},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","engines":{"node":">= 18.0.0"},"gitHead":"d085b3f068724e99eee8a1db00cb1bbfb8cbeca2","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @candlefinance/haptics-example","prepack":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"6ary","email":"gary@trycandle.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/candlefinance/haptics.git","type":"git"},"workspaces":["example"],"_npmVersion":"9.5.1","description":"Haptic feedback generator with support for playing patterns.","directories":{},"resolutions":{"@types/react":"17.0.21"},"_nodeVersion":"18.16.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^28.1.1","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.4.1","del-cli":"^5.0.0","prettier":"^2.0.5","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.0.2","@types/jest":"^28.1.2","pod-install":"^0.1.0","@types/react":"~17.0.21","react-native":"0.72.5","@types/react-native":"0.70.0","@evilmartians/lefthook":"^1.2.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","react-native-builder-bob":"^0.22.0","@react-native/eslint-config":"^0.72.2","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/haptics_0.2.3_1695995813660_0.14346525921086828","host":"s3://npm-registry-packages"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"0.3.0":{"name":"@candlefinance/haptics","version":"0.3.0","keywords":["react-native","ios","android"],"author":{"url":"https://candle.fi","name":"Gary Tokman","email":"gary@trycandle.com"},"license":"MIT","_id":"@candlefinance/haptics@0.3.0","maintainers":[{"name":"liambutler-lawrence","email":"liam@trycandle.com"},{"name":"6ary","email":"gary@trycandle.com"},{"name":"gtokman","email":"contact@trycandle.com"}],"homepage":"https://github.com/candlefinance/haptics#readme","bugs":{"url":"https://github.com/candlefinance/haptics/issues"},"dist":{"shasum":"7c42be24dac8cd22b1613be3b2db1dc4c7df4758","tarball":"https://registry.npmjs.org/@candlefinance/haptics/-/haptics-0.3.0.tgz","fileCount":24,"integrity":"sha512-WEWtiZ/M7iXiqxiiE/CZlGWYMondqP52qOA8CgOKsTZobT2o3rzTTm983S2lK63vXZX2R8DN8vdsnuiu6p6Ihw==","signatures":[{"sig":"MEUCIGzaz7exOqtUguSaVcty86sRzEnNRnyrPYeT4JiacZ5xAiEA9S3CrGzXssXzNHKN9oC3+QFmn1VdA1udRRTyvj4GGbc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50338},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","engines":{"node":">= 18.0.0"},"gitHead":"5f03747c38593957d6c9cec605196d946b8b859b","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @candlefinance/haptics-example","prepack":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"6ary","email":"gary@trycandle.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/candlefinance/haptics.git","type":"git"},"workspaces":["example"],"_npmVersion":"9.5.1","description":"Haptic feedback generator with support for playing patterns.","directories":{},"resolutions":{"@types/react":"17.0.21"},"_nodeVersion":"18.16.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^28.1.1","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.4.1","del-cli":"^5.0.0","prettier":"^2.0.5","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.0.2","@types/jest":"^28.1.2","pod-install":"^0.1.0","@types/react":"~17.0.21","react-native":"0.72.5","@types/react-native":"0.70.0","@evilmartians/lefthook":"^1.2.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","react-native-builder-bob":"^0.22.0","@react-native/eslint-config":"^0.72.2","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/haptics_0.3.0_1699277768519_0.43599580360352697","host":"s3://npm-registry-packages"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"0.3.1":{"name":"@candlefinance/haptics","version":"0.3.1","keywords":["react-native","ios","android"],"author":{"url":"https://candle.fi","name":"Gary Tokman","email":"gary@trycandle.com"},"license":"MIT","_id":"@candlefinance/haptics@0.3.1","maintainers":[{"name":"liambutler-lawrence","email":"liam@trycandle.com"},{"name":"6ary","email":"gary@trycandle.com"},{"name":"gtokman","email":"contact@trycandle.com"}],"homepage":"https://github.com/candlefinance/haptics#readme","bugs":{"url":"https://github.com/candlefinance/haptics/issues"},"dist":{"shasum":"18d16a83433b7c491d0b591b2b810f93e9ac7ef2","tarball":"https://registry.npmjs.org/@candlefinance/haptics/-/haptics-0.3.1.tgz","fileCount":24,"integrity":"sha512-Md5T1B8REKeQAzmFfH/gHtXgHFfc0Ns3XjdhhOQVt5TIONtp37Np8259H9d7uTO9CjX/8TrJ3SvCDY16j8uu0Q==","signatures":[{"sig":"MEQCIFzQqfopbj2NsexKxOsE+BsOB1gAC43EvtK66h41+GpEAiB4wFXAkRYh/ulPLeTzBGqi/1svwKMpKJHCgdmkno6XTQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51329},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","engines":{"node":">= 18.0.0"},"gitHead":"6a542fdff0f9b26ed3bf168e3bd3da877337ae2f","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @candlefinance/haptics-example","prepack":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"6ary","email":"gary@trycandle.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/candlefinance/haptics.git","type":"git"},"workspaces":["example"],"_npmVersion":"9.5.1","description":"Haptic feedback generator with support for playing patterns.","directories":{},"resolutions":{"@types/react":"17.0.21"},"_nodeVersion":"18.16.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^28.1.1","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.4.1","del-cli":"^5.0.0","prettier":"^2.0.5","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.0.2","@types/jest":"^28.1.2","pod-install":"^0.1.0","@types/react":"~17.0.21","react-native":"0.72.5","@types/react-native":"0.70.0","@evilmartians/lefthook":"^1.2.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","react-native-builder-bob":"^0.22.0","@react-native/eslint-config":"^0.72.2","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/haptics_0.3.1_1699728827575_0.8014721967349521","host":"s3://npm-registry-packages"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"0.3.2":{"name":"@candlefinance/haptics","version":"0.3.2","keywords":["react-native","ios","android"],"author":{"url":"https://candle.fi","name":"Gary Tokman","email":"gary@trycandle.com"},"license":"MIT","_id":"@candlefinance/haptics@0.3.2","maintainers":[{"name":"liambutler-lawrence","email":"liam@trycandle.com"},{"name":"6ary","email":"gary@trycandle.com"},{"name":"gtokman","email":"contact@trycandle.com"}],"homepage":"https://github.com/candlefinance/haptics#readme","bugs":{"url":"https://github.com/candlefinance/haptics/issues"},"dist":{"shasum":"d2ea8988d103617b7ccdbb3bcc4fc30f81e91ed4","tarball":"https://registry.npmjs.org/@candlefinance/haptics/-/haptics-0.3.2.tgz","fileCount":24,"integrity":"sha512-qbWKCZH3Upgl9zvzo6gOJ/+lvON10hy6YDFt0u2gaROz4UIUNOz+sTDltIkV37f9sj3Ox0lDRJMCEdj6RO6E3w==","signatures":[{"sig":"MEUCIQCyk5beY6Oau27kWdNUs592B4TQovXOakyndU1idDJRgwIgFSA3y9EXSX4aueL2ZSfJmNfGhZEw0NGdmS/dDe8ctTY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51358},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","engines":{"node":">= 18.0.0"},"gitHead":"4211e4a96f8977a90a3990fd7dc6b0358b1628b6","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @candlefinance/haptics-example","prepack":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"6ary","email":"gary@trycandle.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/candlefinance/haptics.git","type":"git"},"workspaces":["example"],"_npmVersion":"9.5.1","description":"Haptic feedback generator with support for playing patterns.","directories":{},"resolutions":{"@types/react":"17.0.21"},"_nodeVersion":"18.16.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^28.1.1","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.4.1","del-cli":"^5.0.0","prettier":"^2.0.5","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.0.2","@types/jest":"^28.1.2","pod-install":"^0.1.0","@types/react":"~17.0.21","react-native":"0.72.5","@types/react-native":"0.70.0","@evilmartians/lefthook":"^1.2.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","react-native-builder-bob":"^0.22.0","@react-native/eslint-config":"^0.72.2","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/haptics_0.3.2_1699968967255_0.9936289017885007","host":"s3://npm-registry-packages"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"0.3.3":{"name":"@candlefinance/haptics","version":"0.3.3","keywords":["react-native","ios","android"],"author":{"url":"https://candle.fi","name":"Gary Tokman","email":"gary@trycandle.com"},"license":"MIT","_id":"@candlefinance/haptics@0.3.3","maintainers":[{"name":"liambutler-lawrence","email":"liam@trycandle.com"},{"name":"6ary","email":"gary@trycandle.com"},{"name":"gtokman","email":"contact@trycandle.com"}],"homepage":"https://github.com/candlefinance/haptics#readme","bugs":{"url":"https://github.com/candlefinance/haptics/issues"},"dist":{"shasum":"1f7776f53f8f0f688ddc78e8b39f4fb67ff75fb4","tarball":"https://registry.npmjs.org/@candlefinance/haptics/-/haptics-0.3.3.tgz","fileCount":24,"integrity":"sha512-Qs50lDG2Mj4kfRfdOigNmSIIVHQRS28jZUt5TngTKhhvqVpnz5GY0/ORCdsr8qslH7d4qr/DNCRpxATI7XwBJA==","signatures":[{"sig":"MEUCIGGcqkiFlFVqQGFOtozKR1n0nn1FyHMTKmsxXxEAonFxAiEAuydkungVAuxunQPHl0qiwsZDbGdZenEa07VqK5MrzWU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52237},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","engines":{"node":">= 18.0.0"},"gitHead":"d6e9952f4982c0b1f25cde761ead68a431192a14","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @candlefinance/haptics-example","prepack":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"6ary","email":"gary@trycandle.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/candlefinance/haptics.git","type":"git"},"workspaces":["example"],"_npmVersion":"9.5.1","description":"Haptic feedback generator with support for playing patterns.","directories":{},"resolutions":{"@types/react":"17.0.21"},"_nodeVersion":"18.16.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^28.1.1","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.4.1","del-cli":"^5.0.0","prettier":"^2.0.5","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.0.2","@types/jest":"^28.1.2","pod-install":"^0.1.0","@types/react":"~17.0.21","react-native":"0.72.5","@types/react-native":"0.70.0","@evilmartians/lefthook":"^1.2.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","react-native-builder-bob":"^0.22.0","@react-native/eslint-config":"^0.72.2","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/haptics_0.3.3_1713637874638_0.447058916688156","host":"s3://npm-registry-packages"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}}},"time":{"created":"2023-09-28T15:53:26.670Z","modified":"2024-06-06T15:49:01.860Z","0.2.2":"2023-09-28T15:53:26.955Z","0.2.3":"2023-09-29T13:56:53.801Z","0.3.0":"2023-11-06T13:36:08.675Z","0.3.1":"2023-11-11T18:53:47.758Z","0.3.2":"2023-11-14T13:36:07.469Z","0.3.3":"2024-04-20T18:31:14.842Z"},"maintainers":[{"email":"wottonn@gmail.com","name":"nikolai-wotton"},{"email":"liam@trycandle.com","name":"liambutler-lawrence"},{"email":"gary@trycandle.com","name":"6ary"},{"email":"contact@trycandle.com","name":"gtokman"}],"author":{"url":"https://candle.fi","name":"Gary Tokman","email":"gary@trycandle.com"},"repository":{"url":"git+https://github.com/candlefinance/haptics.git","type":"git"},"keywords":["react-native","ios","android"],"license":"MIT","homepage":"https://github.com/candlefinance/haptics#readme","bugs":{"url":"https://github.com/candlefinance/haptics/issues"},"readme":"<div align=\"center\">\n</div>\n\n<br/>\n\n<div align=\"center\">\n  <img alt=\"npm downloads\" src=\"https://img.shields.io/npm/dw/@candlefinance/@candlefinance/haptics?logo=npm&label=NPM%20downloads&cacheSeconds=3600\"/>\n  <a alt=\"discord users online\" href=\"https://discord.gg/qnAgjxhg6n\" \n  target=\"_blank\"\n  rel=\"noopener noreferrer\">\n    <img alt=\"discord users online\" src=\"https://img.shields.io/discord/986610142768406548?label=Discord&logo=discord&logoColor=white&cacheSeconds=3600\"/>\n</div>\n\n<br/>\n\n<h1 align=\"center\">\n   Haptics for React Native\n</h1>\n\n<br/>\n\nSupports playing haptics on iOS with default UIImpactFeedbackGenerator and CoreHaptics for patterns and ahap files. Vibrates on Android.\n\n## Installation\n\n```sh\nyarn add @candlefinance/haptics\n```\n\n```sh\nnpm i @candlefinance/haptics\n```\n\n## Basic Usage\n\nThere are three functions:\n\n```js\nimport { haptic, hapticWithPattern } from '@candlefinance/haptics';\n\n// light, medium, heavy, soft, rigid, warning, error, success, selectionChanged\nhaptic('medium');\n\n// pattern\nhapticWithPattern(['.', '.', '.', 'o', 'O', '-', 'O', 'o', '.', '.', '.', '.']);\n\n// play ahap file (iOS only)\nplay('fileName');\n```\n\nThe pattern format:\n\n```\n- 'o' - medium impact\n- 'O' - heavy impact\n- '.' - light impact\n- ':' - soft impact\n- '-' - wait of 0.1 second\n- '=' - wait of 1 second\n```\n\nFor playing ahap files to the root of your project add a folder called `haptics` and add your ahap files there. Use (Haptrix)[https://www.haptrix.com/] or equivalent to generate ahap files.\n\n## Contributing\n\nJoin our [Discord](https://discord.gg/qnAgjxhg6n) and ask questions in the **#oss** channel.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}