{"_id":"@brave-js/inscriber","_rev":"8-da4c53cfee1f86da6321e88a63e32838","time":{"0.1.3":"2020-04-27T12:14:54.662Z","created":"2020-04-27T12:20:53.431Z","0.1.10":"2020-04-27T12:20:53.807Z","modified":"2022-04-04T20:27:06.000Z","0.1.11":"2020-04-27T13:46:08.922Z","0.2.0":"2020-04-28T04:33:03.669Z","0.2.1":"2020-05-01T11:50:31.847Z","0.2.2":"2020-05-03T06:05:30.160Z"},"name":"@brave-js/inscriber","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.10":{"name":"@brave-js/inscriber","version":"0.1.10","description":"Class with property dependencies","main":"inscriber.js","publishConfig":{"access":"public"},"scripts":{"build":"webpack --mode production","develop":"webpack --mode development --watch","lint":"eslint . test --fix --ignore-path=.gitignore","test":"nyc --reporter=lcov --reporter=text mocha --require @babel/register"},"lint-staged":{"*.js":"eslint . test --fix --ignore-path=.gitignore"},"pre-commit":["lint-staged","yarn build"],"repository":{"type":"git","url":"git+https://github.com/sankar-ganesh/brave-js.git"},"keywords":["inscriber","js inscriber","class inscriber","js class inscriber"],"authors":["Sankar Ganesh <sankar.ganesh@freshworks.com>"],"license":"MIT","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/node":"^7.8.7","@babel/plugin-transform-arrow-functions":"^7.8.3","@babel/plugin-transform-classes":"^7.9.5","@babel/preset-env":"^7.9.5","@babel/register":"^7.9.0","babel-loader":"^8.1.0","chai":"^4.2.0","eslint":"^6.8.0","lint-staged":"^10.1.7","mocha":"^7.1.2","nyc":"^15.0.1","pre-commit":"^1.2.2","sinon":"^9.0.2","webpack":"^4.43.0","webpack-cli":"^3.3.11"},"gitHead":"559fb8efd8b370e5efd59a0fe976edc4123670bb","bugs":{"url":"https://github.com/sankar-ganesh/brave-js/issues"},"homepage":"https://github.com/sankar-ganesh/brave-js#readme","_id":"@brave-js/inscriber@0.1.10","_nodeVersion":"13.5.0","_npmVersion":"lerna/3.20.2/node@v13.5.0+x64 (darwin)","dist":{"integrity":"sha512-fNsNxV+Rz+jqG0XSEpW2ehefqLKSRwQ6LU2/iNUjGkuhpfEmZves8lPa7MqyL3qIl9lv+OZpSRvXmQuTyYGAQg==","shasum":"c32a3798fb5d445f29b1e98b10aa64f4a756d1d7","tarball":"https://registry.npmjs.org/@brave-js/inscriber/-/inscriber-0.1.10.tgz","fileCount":10,"unpackedSize":11884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeps4mCRA9TVsSAnZWagAAhNMP/1fsd3Q1DYnnjR3Xu9b4\nwXIZF3mvoOdKlXuKKCmUnSDf6Eyl2C5Z5StEE76MAeoky3hFM9/6loaIzPMQ\nIkBEFb4kb5nwJ/++eaPcjqXaPi+9Jbd94ENPNyzJr6oFS/FIT7rU1qARgA+3\n7bXnmBY5ZkEQpQsFCkmifwi8Oxyosa7dnfWZM97Q8hyC+cJOvShxBLEADNVr\nCExp7dWHmijGBoVxeEeKJufu3fHxfIjK3TxlKdGnvc5ioeWSZ2jl/gw94g1w\nZC4JCGNAbqjxxFnb1WFzU+YofVWtp3OBpuUrjllXnxt5bbsAYND4M1Vxnbbx\nzN+dJ8+oWcTxqvorv4nmEIUYUkt1IqMdr73Ojg2196zqP1dKpkyj1g8SRcY0\n0xaRIV15qVij4mRMvYVjIGCyMspl/TwrKiYZrWwGrzY5WJlUZhOnSMlKsM/d\nst7DEYFf2lgySerEE/BEYQVTOQPb2ILTlVAgOLSuQhTjqssDwbUA0KQdv40O\nKmxUsRRMmW3nhLDko9ipyy5YoO8FfCJa4yF8k1CzjtK2qPn8GyXuRwBtw8gZ\nFdGV3zSk8S39qwh7y+bC91jRk36XytMI8wEBIjhnErazcFZhQUXKESt9w2DU\nfd2OkcWDNwBlroR0rFyGELxyonIrmZSRFH/1XnzkKxFBdcpyzk5AOJ5/0Edk\nRz1/\r\n=wIRR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCixlUVccXV2YJygvAiUH9l2Mdd0+lls7aLV2dReVzPXQIgZkhWliDeYmVvpbakZrCS9uy/BrGNe9uabj2y0RNs/j0="}]},"maintainers":[{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"}],"_npmUser":{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inscriber_0.1.10_1587990053677_0.48867941461101005"},"_hasShrinkwrap":false},"0.1.11":{"name":"@brave-js/inscriber","version":"0.1.11","description":"Class with property dependencies","main":"inscriber.js","publishConfig":{"access":"public"},"homepage":"https://github.com/sankar-ganesh/brave-js","scripts":{"build":"webpack --mode production","develop":"webpack --mode development --watch","lint":"eslint . test --fix --ignore-path=.gitignore","test":"nyc --reporter=lcov --reporter=text mocha --require @babel/register"},"lint-staged":{"*.js":"eslint . test --fix --ignore-path=.gitignore"},"pre-commit":["lint-staged","yarn build"],"repository":{"type":"git","url":"git+https://github.com/sankar-ganesh/brave-js.git"},"keywords":["inscriber","js inscriber","class inscriber","js class inscriber"],"authors":["Sankar Ganesh <sankar.ganesh@freshworks.com>"],"license":"MIT","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/node":"^7.8.7","@babel/plugin-transform-arrow-functions":"^7.8.3","@babel/plugin-transform-classes":"^7.9.5","@babel/preset-env":"^7.9.5","@babel/register":"^7.9.0","babel-loader":"^8.1.0","chai":"^4.2.0","eslint":"^6.8.0","lint-staged":"^10.1.7","mocha":"^7.1.2","nyc":"^15.0.1","pre-commit":"^1.2.2","sinon":"^9.0.2","webpack":"^4.43.0","webpack-cli":"^3.3.11"},"gitHead":"98acd5dacaa419c329028525b3afc9d65358c276","bugs":{"url":"https://github.com/sankar-ganesh/brave-js/issues"},"_id":"@brave-js/inscriber@0.1.11","_nodeVersion":"13.5.0","_npmVersion":"lerna/3.20.2/node@v13.5.0+x64 (darwin)","dist":{"integrity":"sha512-lh6hFmPfcVKGs2DIcOhZGPY4D95ccXkYx5R/yHJUsqKDkWF4E2fp0/JjV0qStzDX31vLDyY/IJK8g65Alar9Kw==","shasum":"bbf2dfab23fc202ea78b09c4b3680a92ef8ec617","tarball":"https://registry.npmjs.org/@brave-js/inscriber/-/inscriber-0.1.11.tgz","fileCount":6,"unpackedSize":9647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepuIhCRA9TVsSAnZWagAAuFwP/27OkcXBZj5hfNLwIcXX\nFk8+QbfLKNV1ROPdf9N+mPCWsAgGcqX0FYVFkvyyuBX2YqpFd9WH92ZzQltJ\nV7+PZFbrEyZKWfXja+emswUEYJBSRfOK/NGK3zsvcZ4+IdrmjmYex7H26zez\nQ/m4/tg1kxXsog0fN3diounT5zP5l+IHlPPm6hFaYXD4OyItKKI4mlP9ZzyS\nkzkU0PPvJT72YE3Q5kF+rR4m/qxGO92taJXUggGp3pf7U+SroD9lev11u72K\nAvHSAsy4kDe3G4Gyu3fXUpFM7ZbsOPUYUTMCa/DbjLBk5KaKeg21KsTfI9EA\n60GBVPMwAYw6FqRqW85t0w26LZVuGQ0mX58ajFMSUUuBnb+xOmMJ5Ljse8Li\nkgbv6/HUpRA+bxKhKY1Oslco0rlw1VLB5R9O4c3EZ1TBPFuoNhEtU8xa0LKN\neE3c7XqdjPBoM7J5aXnJuxo5/1VEzhUaYrHrrkcYnU/UsdVA6K2y3EK9DNog\nayuW0yc4ngVo2I0RVt5Cdyf07l16RKxMZ/DfhX7T+/MuSf+yXqZ8jlHx70Om\ncqUY0RwfVChuqdP2d6tIxqAY0c2cQNi5zUF94v8BZ1jzL25lIdqy8vpo/FCe\ngT3b7bkhItUeCDMi/3aRa5TgBkDZarzv+ynL3nRLZBNvwI6OHZ1Q0+MXO9/T\neEci\r\n=/MXN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8YMA3jAFfdbRoci6+OSkOTICZVeHw59GPWoIgFFepFAIhANRZOSLkXoW5lFyBC6j6HNtac1ej6VSOIQkQPHl+r1pM"}]},"maintainers":[{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"}],"_npmUser":{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inscriber_0.1.11_1587995168834_0.26949781639463755"},"_hasShrinkwrap":false},"0.2.0":{"name":"@brave-js/inscriber","version":"0.2.0","description":"Class with property dependencies","main":"inscriber.js","publishConfig":{"access":"public"},"homepage":"https://github.com/sankar-ganesh/brave-js","scripts":{"build":"webpack --mode production","develop":"webpack --mode development --watch","lint":"eslint . test --fix --ignore-path=.gitignore","test":"nyc --reporter=lcov --reporter=text mocha --require @babel/register"},"lint-staged":{"*.js":"eslint . test --fix --ignore-path=.gitignore"},"pre-commit":["lint-staged","yarn build"],"repository":{"type":"git","url":"git+https://github.com/sankar-ganesh/brave-js.git"},"keywords":["inscriber","js inscriber","class inscriber","js class inscriber"],"authors":["Sankar Ganesh <sankar.ganesh@freshworks.com>"],"license":"MIT","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/node":"^7.8.7","@babel/plugin-transform-arrow-functions":"^7.8.3","@babel/plugin-transform-classes":"^7.9.5","@babel/preset-env":"^7.9.5","@babel/register":"^7.9.0","babel-loader":"^8.1.0","chai":"^4.2.0","eslint":"^6.8.0","lint-staged":"^10.1.7","mocha":"^7.1.2","nyc":"^15.0.1","pre-commit":"^1.2.2","sinon":"^9.0.2","webpack":"^4.43.0","webpack-cli":"^3.3.11"},"bugs":{"url":"https://github.com/sankar-ganesh/brave-js/issues"},"_id":"@brave-js/inscriber@0.2.0","_nodeVersion":"13.5.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-wwVJw53uTrxlmVuRkgqBQYjh6cKB6HBzO8LjmBz0yFmytodNzd9H96LCEXtNC3CaAoJbYP0EK3VMtWTR17wRqA==","shasum":"d20ae30900d9e6a602250e2254090abb15d08d0a","tarball":"https://registry.npmjs.org/@brave-js/inscriber/-/inscriber-0.2.0.tgz","fileCount":5,"unpackedSize":9946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJep7IACRA9TVsSAnZWagAARwsP/AstB4t7bC5XZZqz8viy\nhH3MzPjzNJ71Krv7WH3pkjZmOSWC4cHR9dgW65OPa1JlKkTSK9dPJmYh2ONH\nmwwFPodj5iNm3Ngl+dcOa6cdj5OF+FwsE7mgFAaMPEdP6+3xxWDY+YfXGGAy\nXy0b3JiBI/JNx+2DWovEOZE19ZzaQWzfZ+A9uFz6aoIF51bUZOG8AN99dZNc\nyNKJEdc9way9Ypd9fHtlDTGR/aLUXRtZteZBr6eqW5CTuagjEilI66Hy60CV\n7AFfg4plSneoUTpSb2wchlijakYTYUAlMYQNgrW5rcyH8z5Sfza2uew7w5CV\nu2lzhjZawG1IVoW8q0xP/MpZgeDLKX5UMrU9EgwYgIbLlB16lv7nqTJbRqsq\nrFaTuCx84nv2cWZ+qjFQqHTXEtf71G7X5Ik3Shr1tPS4bBSKD5Io39YefNgz\nWz0ULMJwkfr80MWKqK+JDxiXmYvVtypy9c+9Nox9wrUtW9WBeVOoAFX5n1Ur\nf1jk/IVVAAUYyfchMg4GrxPWQUqxuAo5tsYY+ziV0KJKW9HjnWvv4GwLBez3\nWJY8m8/peT32U0Iy6qyJUhdLG9wkPIZf/y1SBcUjb0s5RKoPfnZfd+kxnK3v\nZ+GO+UzwVL/5M5+XNlF/iHZgsH+klJB+j2mZgDyeOob3m6JIjDWt+stF5J5s\ni7Qt\r\n=6lrf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4PTbcmlHdx1Izf1gF9BNvND2AmoWtbIWIo+i3qVEd3AIhAJKarBhk9IZnV8yf77Mz56EdvtqM/ocNGotJHjXNK+2s"}]},"maintainers":[{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"}],"_npmUser":{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inscriber_0.2.0_1588048383548_0.9891904098822755"},"_hasShrinkwrap":false},"0.2.1":{"name":"@brave-js/inscriber","version":"0.2.1","description":"Class with property dependencies","main":"inscriber.js","publishConfig":{"access":"public"},"homepage":"https://github.com/sankar-ganesh/brave-js","scripts":{"build":"webpack --mode production","develop":"webpack --mode development --watch","lint":"eslint . test --fix --ignore-path=.gitignore","test":"nyc --reporter=lcov --reporter=text mocha --require @babel/register"},"lint-staged":{"*.js":"eslint . test --fix --ignore-path=.gitignore"},"pre-commit":["lint-staged","yarn build"],"repository":{"type":"git","url":"git+https://github.com/sankar-ganesh/brave-js.git"},"keywords":["inscriber","js inscriber","class inscriber","js class inscriber"],"authors":["Sankar Ganesh <sankar.ganesh@freshworks.com>"],"license":"MIT","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/node":"^7.8.7","@babel/plugin-transform-arrow-functions":"^7.8.3","@babel/plugin-transform-classes":"^7.9.5","@babel/preset-env":"^7.9.5","@babel/register":"^7.9.0","babel-loader":"^8.1.0","chai":"^4.2.0","eslint":"^6.8.0","lint-staged":"^10.1.7","mocha":"^7.1.2","nyc":"^15.0.1","pre-commit":"^1.2.2","sinon":"^9.0.2","webpack":"^4.43.0","webpack-cli":"^3.3.11"},"bugs":{"url":"https://github.com/sankar-ganesh/brave-js/issues"},"_id":"@brave-js/inscriber@0.2.1","_nodeVersion":"13.5.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-+eXMAeEOaEpTE6XYgUeZWsTKQ7vbPca5+Qkl29/L1ni9owPmfVPxT+idfXHlljJtDsrRLX3cKONRsh8BlvtF0g==","shasum":"2b1624af577ff250fc6551e68d8461b3d1a508aa","tarball":"https://registry.npmjs.org/@brave-js/inscriber/-/inscriber-0.2.1.tgz","fileCount":5,"unpackedSize":15787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerA0ICRA9TVsSAnZWagAAm28QAJQ/scoikvUzZVAhqn/V\ng2UVbIqfZH8z45T/GDonPQQC7CtxyN+AVoUO/FKGMZcO2/WGTTS4/YT6XTwF\nfAqWEi44V5Dqvw9Lr0WMKAO+7rLz9U1Rv6Vy70TleriCvm2ZJYPbZOeAWhV2\naqd43C3SJBe8zRvbb0A6DhUT1Fl3iNIJc7u6QMBYkbYOU1LQ7vMt0lwZ4aF+\nefHYTZd/UoyvIfRWL5WwWRR00YykGhd0y6/8ELyNPZVT0dZRGkoGbRvIyTzl\na54Srner6zDyMn/ANDRBcsZFiG4ZcHCFIkd7j0yETtRwm01pOtJlepeREjwQ\nDpF0juascrVFeimhNZ3yaR42nT8BC1xkAC8JbIEGdRGqyQrLkiUf6BTcHjUY\niW7IkEmCERwJl46ZUhN/+K9zQ9XdsGI8spYyj7FGgZpttM31RyicYtZhqTS+\nRRafk01VoAfYDbwcUuV2DC4DXZYYxPSwDvkb5mCk/5AvLrvQXuGGbIGdjnk8\nM5cYXpxtGNZMcws8y+gOJt8O2ho/7q4ysmyHMPm6PrEVHtPQ8XDe0p89mt8l\n6dIGDeukOAcWb7dNkFarISmJFDHL5s83aT51nGFy6f7aqd2ybDixy/BHE5r5\nmR25tDMP0HdFf6nsZ9iIvBtbtKizJ13Pzw6m6Y8ryDW3os908RWvywdGJxde\n1i0x\r\n=tpo3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbs+AOdPNfeen+CYfZexm2bcEbJj61ksFnpKlHkXs9kAIhAMEVWyq2otSwjIQLp2uKpItTNPRN+sEMnWnM9SO+XZTx"}]},"maintainers":[{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"}],"_npmUser":{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inscriber_0.2.1_1588333831645_0.869089285272735"},"_hasShrinkwrap":false},"0.2.2":{"name":"@brave-js/inscriber","version":"0.2.2","description":"Class with property dependencies","main":"inscriber.js","publishConfig":{"access":"public"},"homepage":"https://github.com/sankar-ganesh/brave-js","scripts":{"build":"webpack --mode production","develop":"webpack --mode development --watch","lint":"eslint . test --fix --ignore-path=.gitignore","test":"nyc --reporter=lcov --reporter=text mocha --require @babel/register"},"lint-staged":{"*.js":"eslint . test --fix --ignore-path=.gitignore"},"pre-commit":["lint-staged","yarn build"],"repository":{"type":"git","url":"git+https://github.com/sankar-ganesh/brave-js.git"},"keywords":["inscriber","js inscriber","class inscriber","js class inscriber"],"authors":["Sankar Ganesh <sankar.ganesh@freshworks.com>"],"license":"MIT","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/node":"^7.8.7","@babel/plugin-transform-arrow-functions":"^7.8.3","@babel/plugin-transform-classes":"^7.9.5","@babel/preset-env":"^7.9.5","@babel/register":"^7.9.0","babel-loader":"^8.1.0","chai":"^4.2.0","eslint":"^6.8.0","lint-staged":"^10.1.7","mocha":"^7.1.2","nyc":"^15.0.1","pre-commit":"^1.2.2","sinon":"^9.0.2","webpack":"^4.43.0","webpack-cli":"^3.3.11"},"bugs":{"url":"https://github.com/sankar-ganesh/brave-js/issues"},"_id":"@brave-js/inscriber@0.2.2","_nodeVersion":"13.5.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-AqHZJvA1PzhhLreZqbXTqS16mdm+1spF0ZOwhEBqqSUOqdfbpd0wcuERUxt7r55nWj+jFs3yIN5Vzw3Eu6gBew==","shasum":"2867538205c5b9ff14e43a750cff61914e5402b8","tarball":"https://registry.npmjs.org/@brave-js/inscriber/-/inscriber-0.2.2.tgz","fileCount":5,"unpackedSize":20693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerl8qCRA9TVsSAnZWagAAnqEP/AxNXb9ofT1lX3dkcGPO\nis20D5pPrAi5cF1Xs+BpmQwuT1cV1hu1hFB92Bq0Pp7IBTi3vCJ582nuHLOo\n2O0inIzMdSBubA2HfsAJbutvQC0GBX50OAcg6czioC9GpS2KJ8BPXTMVF5wH\na2t/vJlz/HIkGzoeyKxCgbcF69/T+VWBpnNG+ldUyJpUs4ZShNYwiyCGKo//\ncTtDlYAyC9AbXKXC0oTMhswjWpAM8o273vs+gjXq/I5iBAuea5c4AHLetXow\nDnlkyK7pz4UWBBhVXD9o8ISWzoJPfAs8nKMg+U0ZTvW2mon5G8htNzu8e+S6\naVKjl1qVeA1cV/x9EobprGhK13nTCeZIyNDB8/zI9nQmmI7+y3/MYyo2Xx/7\n9bGdbG6+4IlLWODO2bJOw5OFwgwJTGWIvIWDIRtSuPJxPXhZqnM3dmiWP9+F\nqFwus41l/K63MGsp88qcnrH0VhO4nUjSA6croXp2phGDmsITiwSk3FQOPg27\nhRAJT9XX5KI/8A1L+2OQRDjnq9lTeyfMCpYjybUzAGGL8PWBLN6DSs6K31vZ\nQFaelY1dgRYT7ebsn7Oqq/vjaDnW7E+1gfbhXl5zrs3IjLWKv8nBWjwd9klZ\n6qJVFvppoL5VxKRz5N40HExLT6Y57HgsEmc/Ors4xCpS09lRoVbvvfI4zWo7\ngi7r\r\n=LXyG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUPkcrbaekWphzJ3bZp0zZCQWKIRlAaIIsuMGNDkQMXAiBPnjLPv+II380+wqVhB91Lq2sflJQ3oF7wvs9DUb3Mww=="}]},"maintainers":[{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"}],"_npmUser":{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inscriber_0.2.2_1588485930030_0.8804593951914588"},"_hasShrinkwrap":false}},"maintainers":[{"name":"sankar-ganesh","email":"sankar.ganesh@freshworks.com"}],"description":"Class with property dependencies","homepage":"https://github.com/sankar-ganesh/brave-js","keywords":["inscriber","js inscriber","class inscriber","js class inscriber"],"repository":{"type":"git","url":"git+https://github.com/sankar-ganesh/brave-js.git"},"bugs":{"url":"https://github.com/sankar-ganesh/brave-js/issues"},"license":"MIT","readme":"# @brave-js/inscriber\n\nA Simple Javascript Class which is carved out with some features to offer the property bindings for the instances\n\n[![NPM version](https://img.shields.io/npm/v/@brave-js/inscriber.svg)](https://www.npmjs.com/package/@brave-js/inscriber) [![gzip size](https://img.badgesize.io/https://unpkg.com/@brave-js/inscriber/dist/inscriber.js?compression=gzip)](https://www.npmjs.com/package/@brave-js/inscriber)\n\n## Installation\n\n* `yarn add @brave-js/inscriber`\n\n## Design\n\n- `Inscriber` a distinct javascript class\n\n## Inscriber Class\n\n- The scope of the API works only within the current object / instance of the class\n\n- Allows addition & deletion to property binding list\n\n- Property binding change event is delegated via the setters / getters\n\n- Allows deletion of computed property\n\n- Computed Property value is cached. The callback is never called unless the cache is reset\n\n- Last but not least, you can force enable / disable cache. Default is enable cache\n\n### compute\n\nEnables the usage of computed property within the current object / instance of the class\n\n**Parameters**\n\n- `name` name of the computed property\n\n- `properties` array of properties that exists in the current object\n\n- `method` callback function which to calculate the value of the computed property\n\n### Usage\n```javascript\nimport Inscriber from '@brave-js/inscriber';\n\n// Create the `Person` Class extending the `Inscriber` Class\nclass Person extends Inscriber {\n    constructor(obj) {\n        super();\n        this.firstName = obj.firstName;\n        this.lastName = obj.lastName;\n        return this;\n    }\n}\n\n// Instantiate the `Person` Object\nvar person = new Person({\n    firstName: 'John',\n    lastName: 'Doe'\n});\n\n// Add Computed Property `fullName` to the person object\nperson.compute('fullName', ['firstName', 'lastName'], function() {\n    return `${this.firstName} ${this.lastName}`;\n});\n\n// Access Computed Property `fullName` from the person object\nperson.fullName // => Prints `John Doe`\n\n// Now any change to the properties `firstName` & `lastName` will be derived in `fullName`\nperson.firstName = 'Mr';\nperson.lastName = 'Rob';\n\nperson.fullName // => Prints `Mr Rob`\n```\n\n### destruct\n\nDestructs the computed property within the current object / instance of the class\n\n**Parameters**\n\n- `name` name of the computed property\n\n### Usage\n```javascript\nimport Inscriber from '@brave-js/inscriber';\n\n// Create the `Person` Class extending the `Inscriber` Class\nclass Person extends Inscriber {\n    constructor(obj) {\n        super();\n        this.firstName = obj.firstName;\n        this.lastName = obj.lastName;\n        return this;\n    }\n}\n\n// Instantiate the `Person` Object\nvar person = new Person({\n    firstName: 'John',\n    lastName: 'Doe'\n});\n\n// Add Computed Property `fullName` to the person object\nperson.compute('fullName', ['firstName', 'lastName'], function() {\n    return `${this.firstName} ${this.lastName}`;\n});\n\n// Access Computed Property `fullName` from the person object\nperson.fullName // => Prints `John Doe`\n\n// Destructing the Computed Property will retain the value but no longer linked to the bindings\nperson.destruct('fullName');\n\n// Now any change to the properties `firstName` & `lastName` will not be derived in `fullName`\nperson.firstName = 'Mr';\nperson.lastName = 'Rob';\n\nperson.fullName // => Prints `John Doe`\n```\n\n### set\n\nSets the value for the property in the XPATH within the current object / instance of the class\n\n**Parameters**\n\n- `xpath` XPATH of the property\n\n- `value` value for the property\n\n### Usage\n```javascript\nimport Inscriber from '@brave-js/inscriber';\nInscriber.name = {};\n\nInscriber.set('name.firstName', 'Mr');\nInscriber.set('name.lastName', 'Rob');\n```\n\n### get\n\nRetrieve the value for the property in the XPATH within the current object / instance of the class\n\n**Parameters**\n\n- `xpath` XPATH of the property\n\n### Usage\n```javascript\nimport Inscriber from '@brave-js/inscriber';\nInscriber.name = {firstName : 'John', lastName: 'Doe'};\n\nInscriber.get('name.firstName'); // Returns `John`\nInscriber.get('name.lastName'); // Returns `Doe`\n```\n\n### toggle\n\nDisables the cache for all computed property of the binding property. Will be useful to reset cache at any point of time.\n\n**Parameters**\n\n- `property` name of the bindings\n\n### Usage\n\n- `firstName`, `lastName`, `street`, `city` are binding properties\n\n### reset\n\nEnables the cache for the computed property. Will be useful to read the old value & new value after a change\n\n**Parameters**\n\n- `name` name of the computed property\n\n### Usage\n\n- `fullName`, `address` are computed property for binding properties `firstName`, `lastName`, `street`, `city`","readmeFilename":"README.md"}