{"_id":"@bluelibs/smart","_rev":"11-af69c672aed565ded582a4f6aa706d21","name":"@bluelibs/smart","dist-tags":{"latest":"2.2.1"},"versions":{"1.0.0":{"name":"@bluelibs/smart","version":"1.0.0","license":"MIT","_id":"@bluelibs/smart@1.0.0","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"homepage":"https://github.com/bluelibs/bluelibs#readme","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"dist":{"shasum":"a0a17b8c933bf228aa516bf6ceae6193bcb85a12","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-1.0.0.tgz","fileCount":21,"integrity":"sha512-1Bo67sjIuuwJZ5waOxCFrvTpuNreqmgsNjBAksJIVcsyDkFVe02udk9sQw9pgq41QAfskcFU+l3mqAUu9sg4/Q==","signatures":[{"sig":"MEYCIQC/2o1jknXgE6a7tOcpb+i1GfvmTNMkSaiyEOm7gugVrwIhAOoKVBV60T0+6JYsJdiVP1nvdzqguQX8TY4ejo4DpJsa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCqMdCRA9TVsSAnZWagAA8YoQAI9mD+464lxX5RC0gRcX\nVZA4GaIjW6KvqDmSThjXhw4BQXGSpPRszekz7UwSOi88QAoYVJnX54gvhoT8\nn1mumPfMyZ/4aiiHIMvhRUKR2s2LCAwa+vYTo5oqGWZVX11Y3c/EOa2WqTXw\nu3lA2dhamIrlHMGbnwsW1e2ifTD7RxgozSI3qpyEPX9/H/CkPDpY8A0z72zv\n7smoU5emE6gAl8jbNUUsDZa1qzWjdJnbNF71+n2s5WJirzFXxpe+9NiKYRo7\ninHZGrMNo3FVFf2s91gcE4Ak5DRW4WVPcJV4TMkSCqZOexIk7qoEL1sDdZR1\nnnXZJZJubDHkKBWZJjW41qnR/bht5A5jfvKPvuIxgQ7zgL1cTcI84IIBhA7A\nu2A/zRthMpVOTX34Z+yVXd9QBZTKH9AZwk/6aT8NT/pn4vWY2EJ3pPS5vclg\nxORTNXKRzans7lQXGs6q+QOM+12Rv3QPI0Xn6ySapb3UoAfaGI0QnRIiUUV4\no4Giyrehk53RyUnV66d1DtkzXoQ7vW+Rk9zGdkFfM2R25S5r6rG+x9BYEHQl\nUz5JKA3YhL7Q5CpoXaaR6GMmai8WHHT1u+RrKduc8j8Vp411tWKNEubgUNnw\n4qREaIno5HVlz/7pGqdFx2ggM953H3Sm5ixT/32RZKeJOO9Md6FAydmX+h9W\nJsyq\r\n=GUhk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"test":"jest --verbose dist/__tests__/index.js","watch":"tsc -w","compile":"tsc","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json","pretest":"npm run compile","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","testonly":"npm test","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","prepublishOnly":"npm run compile","coverage:upload":"codecov"},"typings":"dist/index.d.ts","_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"repository":{"url":"git+https://github.com/bluelibs/bluelibs.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"7.20.1","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","directories":{},"_nodeVersion":"15.12.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","jest":"^26.0.0","react":"^17.0.1","eslint":"^6.6.0","prettier":"^2.0.5","react-dom":"^17.0.1","jest-junit":"^10.0.0","typescript":"^4.1.3","@types/chai":"^4.2.3","@types/jest":"^25.2.3","@types/node":"^8.0.28","@types/react":"^17.0.2","@types/graphql":"^0.11.3","chai-as-promised":"^7.1.1","source-map-support":"^0.5.13","react-test-renderer":"^17.0.0","eslint-config-prettier":"6.3.0","eslint-plugin-prettier":"3.1.1","@types/chai-as-promised":"^7.1.2","@typescript-eslint/parser":"2.3.0","@testing-library/react-hooks":"^3.4.2","@typescript-eslint/eslint-plugin":"2.3.0"},"peerDependencies":{"react":">=16.13.0"},"_npmOperationalInternal":{"tmp":"tmp/smart_1.0.0_1628087069830_0.5241215012902505","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@bluelibs/smart","version":"1.0.1","license":"MIT","_id":"@bluelibs/smart@1.0.1","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"homepage":"https://github.com/bluelibs/bluelibs#readme","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"dist":{"shasum":"5101f511adcd3d076c5746c017964dd4258349f1","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-1.0.1.tgz","fileCount":21,"integrity":"sha512-IKftWyhArRQ7AB6jO0ZrJEvkdZx1kBD8RTW1ya3SGRsvs7JdYopPxnPXgla05+GsTKf33MvxoJFFpXua7WLCcg==","signatures":[{"sig":"MEUCICR44mToFBQVSLc3RA6PrbOgLK9mKvfh0SoFQDjJm7BtAiEAvzz737vDXR25lxouMRY3tBeTpJUexGBcUbEJKOuMGYs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31990,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB183ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7aA/+JInbu6TsG+94F4DssWnxcUTgGxcqPEM3J/65cP+UqKxzh8Hz\r\nksmJkR5jLpsqDXGLJaDvt3D0YLOuc2tkK9Lqtj19mQhiV6GFYawjUv6HY8qQ\r\nNbWYJJkAkTPX193S3YSlA6VB7w+ueGhjTJI/uFRPy5nl7xJ5Q9XjUsatEGwY\r\n2n7Bes77T4VsjamzUR8PFvXkt4ZM7oScsHR41Py1FdTIYHqZt5jRbX4vic9d\r\ne2mVFKq/ySkzcmf6/+fw36M2TxUzGjEUxw9cr5D0sArWXws+m2KnyyOGIiRf\r\nSiLuNS8fxGlnBiW/CGsM/nr/JRTvkC+YTHe3CNPRge/nTfNlblIzAdqLGUCx\r\n7ux7JjzpP59weCHWnEeZ6PvG5esTn/P+YMuuYufsysVOM+AR36DES7OpO1rx\r\nxuC7eyAMfq+YBsI+T4v2H5lx0HtfTU7R4Y4vkv4UeJ6unzI9Eaja/1YWOU75\r\nQ2tu3rciiEkegEOir0qgwxn8rEPjpiLipfpN7M00z6FK2EqWDFRDxlo8D+vw\r\nQA6jiGgX5JQFBcaPkowkQB0lIPKerr6k7WTkpwliw37vTrziJ26W4/SU29Nv\r\n1VuDN1xKi5eBJQ3pF1d/rEJ7dLdcly5/ExjRjeAgRfn2AYcsrYirOhOEJ3wG\r\nnrJssyOFbxTKfsaNz68L6IcQ1iklqYZGC34=\r\n=Y5bW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"f155bf47de65dc1787e7dd366c9e2bd9e0e3b013","scripts":{"test":"jest --verbose dist/__tests__/index.js","watch":"tsc -w","compile":"tsc","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json","pretest":"npm run compile","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","testonly":"npm test","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","prepublishOnly":"npm run compile","coverage:upload":"codecov"},"typings":"dist/index.d.ts","_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"repository":{"url":"git+https://github.com/bluelibs/bluelibs.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"8.1.0","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","jest":"^27.3.1","react":"^17.0.2","eslint":"^8.1.0","prettier":"^2.4.1","react-dom":"^17.0.2","jest-junit":"^13.0.0","typescript":"4.4.4","@types/chai":"^4.2.22","@types/jest":"^27.0.3","@types/node":"^16.11.6","@types/react":"^17.0.33","@types/graphql":"^14.2.3","chai-as-promised":"^7.1.1","source-map-support":"^0.5.20","react-test-renderer":"^17.0.2","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@types/chai-as-promised":"^7.1.4","@typescript-eslint/parser":"5.2.0","@testing-library/react-hooks":"^7.0.2","@typescript-eslint/eslint-plugin":"5.2.0"},"peerDependencies":{"react":">=17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/smart_1.0.1_1661427511249_0.8378059688350292","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@bluelibs/smart","version":"1.0.2","license":"MIT","_id":"@bluelibs/smart@1.0.2","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"homepage":"https://github.com/bluelibs/bluelibs#readme","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"dist":{"shasum":"ec6c40aa09818ac8a4e7c11fc96e477c43879b69","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-1.0.2.tgz","fileCount":21,"integrity":"sha512-YpvdWxhX/+QsJPnKrG++WP0MTg9HPcn/jaeWjAORWZgtZLevEAHT7j7XWGxup+jhcFM3GHcuPyn9AQjf582Ifg==","signatures":[{"sig":"MEUCIQCYdUugTvclkKFGo6VwYbRL8Z45q9PD9V2B7dAvmfcaVwIgfi6/8RP79VwxrSPvKW+xAbFmrHQTvXQB2Pmv56IgGFk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0NV0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1Hw/7BWE3uHjpfxO2M9cTXfrT4Rjqj1mqJqRVu7LnJWZ6eHo1ERB9\r\n3d+pZCRsXPopYUC36PTn91duajfgfCJUo8WbrBab0KVtvKk8MQceKaeLhPij\r\nPRoRg03rKMMcNXmzsD0QTc00TrNLfeS7CtiqsSUhjHrx54J6sRQ6kh8uAd9r\r\njAweMXAfDuCgYSDGL9vv6AHpNdu9IGXDTzqYmSSbp4uciddZ/mIC2EUlriok\r\nYmKa4tPEV+bn6DPIz7XMx9alZtVJusUiT4v1f7GbuEvWq6vGxg7S1Getgw/q\r\nupa/T2dICCtdSphqw1Ij5bJuDMwClrvOMdsdoNZYhltiqz254ywsNjmnoeAt\r\nvqTIcuv/hO0ja58u3Ka0VICLg0Sk/fjtywmcQm2cAYv6uzcQXhH3BATGPFVy\r\naCU9Hd+1Jg7pO2wQLt3hPCcyNdmZc9U4riqa9uy10JaaH0UCihneLP/hppA9\r\n7eHl7gq5Znb5W7+yjbzD7qk6A1GeAcwODxo/qJth73qjTSgfgL7rnRpG4XF0\r\n/voeLQ8S3tHH+9KgXjO+WAcigtyvx0spqesv3tR5svyLNTybNtUkY9rDNgYe\r\ncRiCdGBsD0sK8e9gU954nCTVUqykf6hyNTi0tPuMnUVKRsyAGzJHziBnVsvF\r\n/uWUOpFEOmn5HFlxg+2HCdtqeh2FaCzQSQw=\r\n=fPdv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"f1a52fd0b16fdae0b694138f9154ec00c40f8020","scripts":{"test":"jest --verbose dist/__tests__/index.js","watch":"tsc -w","compile":"tsc","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json","pretest":"npm run compile","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","testonly":"npm test","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","prepublishOnly":"npm run compile","coverage:upload":"codecov"},"typings":"dist/index.d.ts","_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"repository":{"url":"git+https://github.com/bluelibs/bluelibs.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"8.1.0","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","jest":"^27.3.1","react":"^17.0.2","eslint":"^8.1.0","prettier":"^2.4.1","react-dom":"^17.0.2","jest-junit":"^13.0.0","typescript":"4.4.4","@types/chai":"^4.2.22","@types/jest":"^27.0.3","@types/node":"^16.11.6","@types/react":"^17.0.33","@types/graphql":"^14.2.3","chai-as-promised":"^7.1.1","source-map-support":"^0.5.20","react-test-renderer":"^17.0.2","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@types/chai-as-promised":"^7.1.4","@typescript-eslint/parser":"5.2.0","@testing-library/react-hooks":"^7.0.2","@typescript-eslint/eslint-plugin":"5.2.0"},"peerDependencies":{"react":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/smart_1.0.2_1674630516577_0.3498568877915942","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@bluelibs/smart","version":"1.0.3","license":"MIT","_id":"@bluelibs/smart@1.0.3","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"homepage":"https://github.com/bluelibs/bluelibs#readme","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"dist":{"shasum":"b39e83888ad6d1d38928f3e00f5c40bcc44b9068","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-1.0.3.tgz","fileCount":21,"integrity":"sha512-XLKJozFHfbD/VasWNkvab6KPBT0JEcVPqEh/tzsFAsG+qJBa0qiKGc184H4gXogUlcU9sjIzC7bhTVwScLF2kA==","signatures":[{"sig":"MEUCIC8UMuTsHZSUSUV2n/51Bt0HDi+AOg8MDhOnUbSeQkUGAiEA/k7I+eY8z8vzW10FEf+kVmnG+K23Dig12884Pdt/EpY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32000},"main":"dist/index.js","gitHead":"0b728c8e862c5dd3c0bce71a05be931a53071798","scripts":{"test":"jest --verbose dist/__tests__/index.js","watch":"tsc -w","compile":"tsc","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json","pretest":"npm run compile","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","testonly":"npm test","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","prepublishOnly":"npm run compile","coverage:upload":"codecov"},"typings":"dist/index.d.ts","_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"repository":{"url":"git+https://github.com/bluelibs/bluelibs.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"8.1.0","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","jest":"^27.3.1","react":"^17.0.2","eslint":"^8.1.0","prettier":"^2.4.1","react-dom":"^17.0.2","jest-junit":"^13.0.0","typescript":"4.4.4","@types/chai":"^4.2.22","@types/jest":"^27.0.3","@types/node":"^16.11.6","@types/react":"^17.0.33","@types/graphql":"^14.2.3","chai-as-promised":"^7.1.1","source-map-support":"^0.5.20","react-test-renderer":"^17.0.2","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@types/chai-as-promised":"^7.1.4","@typescript-eslint/parser":"5.2.0","@testing-library/react-hooks":"^7.0.2","@typescript-eslint/eslint-plugin":"5.2.0"},"peerDependencies":{"react":"^17.0.2 || ^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/smart_1.0.3_1695293481463_0.181310085381702","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@bluelibs/smart","version":"1.0.4","license":"MIT","_id":"@bluelibs/smart@1.0.4","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"homepage":"https://github.com/bluelibs/bluelibs#readme","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"dist":{"shasum":"186769e1e49ee9df22ca9ac8b865627933311542","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-1.0.4.tgz","fileCount":21,"integrity":"sha512-cn6Ak2teJSUu+nEznKjZ9AzLoZuHiyAVj5WeNp03l62n252NN03gVi0OyhOlWU4+k/k2WzijgT3CEBVPjRioqQ==","signatures":[{"sig":"MEUCIQDGndxbyD2AqGllF27AvY+BYtxhiKh17ZQWBRyltVhwbwIgVQe3cQ6La9VYDFJSJatZJ4EsDPkFNXi7w8rUiLD+qjE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32011},"main":"dist/index.js","gitHead":"0b728c8e862c5dd3c0bce71a05be931a53071798","scripts":{"test":"jest --verbose dist/__tests__/index.js","watch":"tsc -w","compile":"tsc","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json","pretest":"npm run compile","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","testonly":"npm test","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","prepublishOnly":"npm run compile","coverage:upload":"codecov"},"typings":"dist/index.d.ts","_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"repository":{"url":"git+https://github.com/bluelibs/bluelibs.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"8.1.0","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","jest":"^27.3.1","react":"^17.0.0 || ^18.0.0","eslint":"^8.1.0","prettier":"^2.4.1","react-dom":"^17.0.2","jest-junit":"^13.0.0","typescript":"4.4.4","@types/chai":"^4.2.22","@types/jest":"^27.0.3","@types/node":"^16.11.6","@types/react":"^17.0.33","@types/graphql":"^14.2.3","chai-as-promised":"^7.1.1","source-map-support":"^0.5.20","react-test-renderer":"^17.0.2","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@types/chai-as-promised":"^7.1.4","@typescript-eslint/parser":"5.2.0","@testing-library/react-hooks":"^7.0.2","@typescript-eslint/eslint-plugin":"5.2.0"},"peerDependencies":{"react":"^17.0.2 || ^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/smart_1.0.4_1695293881788_0.8215705144169607","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@bluelibs/smart","version":"1.0.5","license":"MIT","_id":"@bluelibs/smart@1.0.5","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"homepage":"https://github.com/bluelibs/bluelibs#readme","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"dist":{"shasum":"e210ace5f3b809fa60aa228efeac12be2e068d74","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-1.0.5.tgz","fileCount":21,"integrity":"sha512-SCIbTOxLP/Li/Uj7/x0b/OrSVDXya/6pCKg5hcBB9FKWOGua8TtqnGdSh89CB4FwOhr8OiTirFXYVI2+xrRsEg==","signatures":[{"sig":"MEUCIQDvMbajPexr9syWu5BsSgeUExM3hHVDHXHs8z/Z7faJ3gIgUnDC2aEzjRNHT7jSmtEDAcc+GeX0EAxGllVtgQGoliY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32022},"main":"dist/index.js","gitHead":"0b728c8e862c5dd3c0bce71a05be931a53071798","scripts":{"test":"jest --verbose dist/__tests__/index.js","watch":"tsc -w","compile":"tsc","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json","pretest":"npm run compile","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","testonly":"npm test","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","prepublishOnly":"npm run compile","coverage:upload":"codecov"},"typings":"dist/index.d.ts","_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"repository":{"url":"git+https://github.com/bluelibs/bluelibs.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"8.1.0","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","jest":"^27.3.1","react":"^17.0.0 || ^18.0.0","eslint":"^8.1.0","prettier":"^2.4.1","react-dom":"^17.0.1 || ^18.0.0","jest-junit":"^13.0.0","typescript":"4.4.4","@types/chai":"^4.2.22","@types/jest":"^27.0.3","@types/node":"^16.11.6","@types/react":"^17.0.33","@types/graphql":"^14.2.3","chai-as-promised":"^7.1.1","source-map-support":"^0.5.20","react-test-renderer":"^17.0.2","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@types/chai-as-promised":"^7.1.4","@typescript-eslint/parser":"5.2.0","@testing-library/react-hooks":"^7.0.2","@typescript-eslint/eslint-plugin":"5.2.0"},"peerDependencies":{"react":"^17.0.2 || ^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/smart_1.0.5_1695898419971_0.29569390313222077","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@bluelibs/smart","version":"2.0.0","license":"MIT","_id":"@bluelibs/smart@2.0.0","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"homepage":"https://github.com/bluelibs/bluelibs#readme","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"dist":{"shasum":"aa4e0d115fd9992ce07981c7ccc7623c0c2e50db","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-2.0.0.tgz","fileCount":27,"integrity":"sha512-NCVo6S4r0ynQr5ERHDa0YyjvIy9oyoVXKoLsRX1b0MMkpEz5fJ3FEtgR5BVtI0WFS9/GQ8iTwoULGfF79BA0sg==","signatures":[{"sig":"MEUCICFNeMnmenRsoJVNsnV5X1goo91X2vzolpiMhGXNgZ+mAiEAt8ZEYtXScwznt5fz98I/LEXg+b9/O46GxixwPHKWUMA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35052},"main":"dist/index.js","gitHead":"df0b65e92cfa4e31fe5a5f05e8f9cac0654012c6","scripts":{"test":"jest --verbose dist/__tests__/index.js","watch":"tsc -w","compile":"tsc","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json","pretest":"npm run compile","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","testonly":"npm test","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","test:coverage":"jest --verbose dist/__tests__/index.js --coverage","prepublishOnly":"npm run compile","coverage:upload":"codecov","pretest:coverage":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"repository":{"url":"git+https://github.com/bluelibs/bluelibs.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"10.8.2","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","jest":"^29.0.0","react":"^17.0.0 || ^18.0.0","eslint":"^8.1.0","prettier":"^2.4.1","react-dom":"^17.0.1 || ^18.0.0","jest-junit":"^13.0.0","typescript":"^5.6.3","@types/chai":"^4.2.22","@types/jest":"^29.0.0","@types/react":"^18.0.33","@types/graphql":"^14.2.3","chai-as-promised":"^7.1.1","source-map-support":"^0.5.20","react-test-renderer":"^18.0.2","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.0.1","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","jest-environment-jsdom":"^29.7.0","@types/chai-as-promised":"^7.1.4","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"5.2.0","@testing-library/react-hooks":"^7.0.2","@typescript-eslint/eslint-plugin":"5.2.0"},"peerDependencies":{"react":"^17.0.2 || ^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/smart_2.0.0_1728556824558_0.05055856413276616","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@bluelibs/smart","version":"2.0.1","license":"MIT","_id":"@bluelibs/smart@2.0.1","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"homepage":"https://github.com/bluelibs/bluelibs#readme","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"dist":{"shasum":"e46b295ff78b12a67d7d66ca1208df3c6a3f0fd3","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-2.0.1.tgz","fileCount":27,"integrity":"sha512-gFTwiw9gFDhXfnNYAJDUn5d+8fOQpsCTYF6Br/eolOidZiwK5/sCOAq9ZvA3777PjvioARaZq6Okl0jWKaR65w==","signatures":[{"sig":"MEUCICspvrco8yXy0IOvCi9y2exyQVhBqfWzqZinepXl5H6JAiEAtBVN9Sq72Zs+a1pJ4U+qmZCZfNl3M++8dlmS7Lwdoaw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35485},"main":"dist/index.js","gitHead":"df0b65e92cfa4e31fe5a5f05e8f9cac0654012c6","scripts":{"test":"jest --verbose dist/__tests__/index.js","watch":"tsc -w","compile":"tsc","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json","pretest":"npm run compile","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","testonly":"npm test","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","test:coverage":"jest --verbose dist/__tests__/index.js --coverage","prepublishOnly":"npm run compile","coverage:upload":"codecov","pretest:coverage":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"repository":{"url":"git+https://github.com/bluelibs/bluelibs.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"10.8.2","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","jest":"^29.0.0","react":"^17.0.0 || ^18.0.0","eslint":"^8.1.0","prettier":"^2.4.1","react-dom":"^17.0.1 || ^18.0.0","jest-junit":"^13.0.0","typescript":"^5.6.3","@types/chai":"^4.2.22","@types/jest":"^29.0.0","@types/react":"^18.0.33","@types/graphql":"^14.2.3","chai-as-promised":"^7.1.1","source-map-support":"^0.5.20","react-test-renderer":"^18.0.2","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.0.1","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","jest-environment-jsdom":"^29.7.0","@types/chai-as-promised":"^7.1.4","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"5.2.0","@testing-library/react-hooks":"^7.0.2","@typescript-eslint/eslint-plugin":"5.2.0"},"peerDependencies":{"react":"^17.0.2 || ^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/smart_2.0.1_1728637521212_0.11539682128692852","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@bluelibs/smart","version":"2.1.0","license":"MIT","_id":"@bluelibs/smart@2.1.0","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"homepage":"https://github.com/bluelibs/bluelibs#readme","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"dist":{"shasum":"b353b62961da817d9eb266b9933bb6f02c375150","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-2.1.0.tgz","fileCount":27,"integrity":"sha512-AJBjtR1jDEiJrx+u0NZoXV5vfiNdyvIyn1kV01nmsttEONoQMRav3sv+gP51UV5Q950MhXR+t8y6aFDBfu3oQQ==","signatures":[{"sig":"MEUCIQDYkzcE7f25eiVF4DedDlHS5kU44edfT5WM/LZbGREO0AIgVsAgGD4IaU7zzu1YB42JhyV9WDErxlTMzvkQTAO2E6o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36423},"main":"dist/index.js","gitHead":"df0b65e92cfa4e31fe5a5f05e8f9cac0654012c6","scripts":{"test":"jest --verbose dist/__tests__/index.js","watch":"tsc -w","compile":"tsc","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json","pretest":"npm run compile","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","testonly":"npm test","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","test:coverage":"jest --verbose dist/__tests__/index.js --coverage","prepublishOnly":"npm run compile","coverage:upload":"codecov","pretest:coverage":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"repository":{"url":"git+https://github.com/bluelibs/bluelibs.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"10.8.2","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","jest":"^29.0.0","react":"^17.0.0 || ^18.0.0","eslint":"^8.1.0","prettier":"^2.4.1","react-dom":"^17.0.1 || ^18.0.0","jest-junit":"^13.0.0","typescript":"^5.6.3","@types/chai":"^4.2.22","@types/jest":"^29.0.0","@types/react":"^18.0.33","@types/graphql":"^14.2.3","chai-as-promised":"^7.1.1","source-map-support":"^0.5.20","react-test-renderer":"^18.0.2","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.0.1","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","jest-environment-jsdom":"^29.7.0","@types/chai-as-promised":"^7.1.4","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"5.2.0","@testing-library/react-hooks":"^7.0.2","@typescript-eslint/eslint-plugin":"5.2.0"},"peerDependencies":{"react":"^17.0.2 || ^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/smart_2.1.0_1728640940484_0.15455539554810604","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@bluelibs/smart","version":"2.2.0","license":"MIT","_id":"@bluelibs/smart@2.2.0","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"homepage":"https://github.com/bluelibs/bluelibs#readme","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"dist":{"shasum":"f4abd57d00a0720aae0a04f56f71ca7e086b86d2","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-2.2.0.tgz","fileCount":27,"integrity":"sha512-oJsFqA4G4GooEsOlVCkPWGifHzsdzeUr6Mw2Y4P3rCeIVe4XpC20HcksSq0qyR/28aoN8mQDeoYMf602OmlegA==","signatures":[{"sig":"MEYCIQCRoPHHl0nNmR1meGMQP5w+3r1f9Xq3RBQI6JY2sdTH5wIhAPGKDfK45D7/oMwJVmWLKn2pWljrKtgGUokNuIBx/bLF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35866},"main":"dist/index.js","gitHead":"b1843bc317573bb008a9c0d4f54fa549f616bc9b","scripts":{"test":"jest --verbose dist/__tests__/index.js","watch":"tsc -w","compile":"tsc","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json","pretest":"npm run compile","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","testonly":"npm test","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","test:coverage":"jest --verbose dist/__tests__/index.js --coverage","prepublishOnly":"npm run compile","coverage:upload":"codecov","pretest:coverage":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"repository":{"url":"git+https://github.com/bluelibs/bluelibs.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"10.8.2","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","jest":"^29.0.0","react":"^17.0.0 || ^18.0.0","eslint":"^8.1.0","prettier":"^2.4.1","react-dom":"^17.0.1 || ^18.0.0","jest-junit":"^13.0.0","typescript":"^5.6.3","@types/chai":"^4.2.22","@types/jest":"^29.0.0","@types/react":"^18.0.33","@types/graphql":"^14.2.3","chai-as-promised":"^7.1.1","source-map-support":"^0.5.20","react-test-renderer":"^18.0.2","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.0.1","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","jest-environment-jsdom":"^29.7.0","@types/chai-as-promised":"^7.1.4","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"5.2.0","@testing-library/react-hooks":"^7.0.2","@typescript-eslint/eslint-plugin":"5.2.0"},"peerDependencies":{"react":"^17.0.2 || ^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/smart_2.2.0_1729080318802_0.8848225753964014","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@bluelibs/smart","version":"2.2.1","description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/bluelibs/bluelibs.git"},"scripts":{"compile":"tsc","watch":"tsc -w","pretest":"npm run compile","pretest:coverage":"npm run compile","test:coverage":"jest --verbose dist/__tests__/index.js --coverage","test":"jest --verbose dist/__tests__/index.js","test:clean":"jest --clearCache","test:watch":"jest --verbose --watch dist/__tests__/index.js","testonly":"npm test","test:ci":"npm run coverage -- --ci --maxWorkers=2  --reporters=default --reporters=jest-junit","coverage":"npm test -- --coverage","coverage:upload":"codecov","prepublishOnly":"npm run compile","gen-doc":"typedoc ./src/index.ts --exclude ./src/__tests__ --out typeDocs --tsconfig tsconfig.json"},"peerDependencies":{"react":"^17.0.2 || ^18.0.0"},"devDependencies":{"@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.5.0","@testing-library/react":"^16.0.1","@testing-library/react-hooks":"^7.0.2","@types/chai":"^4.2.22","@types/chai-as-promised":"^7.1.4","@types/graphql":"^14.2.3","@types/jest":"^29.0.0","@types/react":"^18.0.33","@typescript-eslint/eslint-plugin":"5.2.0","@typescript-eslint/parser":"5.2.0","chai":"^4.3.4","chai-as-promised":"^7.1.1","eslint":"^8.1.0","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","jest":"^29.0.0","jest-environment-jsdom":"^29.7.0","jest-junit":"^13.0.0","prettier":"^2.4.1","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.1 || ^18.0.0","react-test-renderer":"^18.0.2","source-map-support":"^0.5.20","typescript":"^5.6.3"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"license":"MIT","_id":"@bluelibs/smart@2.2.1","gitHead":"e1fe7761fd94fc24be2de5edc0716b5473fa815a","bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"homepage":"https://github.com/bluelibs/bluelibs#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-iVuz7tDBUdQgXeitI2p8+2jr121vmWcALxMW42c8eGr/sE8kFggXh07b1eTGc4Yti6RIHO0/XC17R2d6JNux7A==","shasum":"e22262e833ad6a8fbe927400fdab3aa9b82471a9","tarball":"https://registry.npmjs.org/@bluelibs/smart/-/smart-2.2.1.tgz","fileCount":27,"unpackedSize":35902,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrvKm+fuyNRgY+uCHJY2VlqReIea7R2gm7J3a45edxjwIhAPyU/Z5KqAzALj87GjEUxeu0IqdsBOdgtbW6JkLmS/iM"}]},"_npmUser":{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"},"directories":{},"maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart_2.2.1_1729147838551_0.677423163193448"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-04T14:24:29.764Z","modified":"2024-10-17T06:50:39.043Z","1.0.0":"2021-08-04T14:24:29.980Z","1.0.1":"2022-08-25T11:38:31.425Z","1.0.2":"2023-01-25T07:08:36.754Z","1.0.3":"2023-09-21T10:51:21.709Z","1.0.4":"2023-09-21T10:58:02.042Z","1.0.5":"2023-09-28T10:53:40.199Z","2.0.0":"2024-10-10T10:40:24.732Z","2.0.1":"2024-10-11T09:05:21.417Z","2.1.0":"2024-10-11T10:02:20.645Z","2.2.0":"2024-10-16T12:05:19.000Z","2.2.1":"2024-10-17T06:50:38.827Z"},"bugs":{"url":"https://github.com/bluelibs/bluelibs/issues"},"license":"MIT","homepage":"https://github.com/bluelibs/bluelibs#readme","repository":{"type":"git","url":"git+https://github.com/bluelibs/bluelibs.git"},"description":"Smart is a very small library which helps decouple state management and non-ui-related actions to separate classes.","maintainers":[{"name":"theodordiaconu","email":"diaconu.theodor@gmail.com"}],"readme":"<h1 align=\"center\">BlueLibs SMART</h1>\n\n<p align=\"center\">\n  <a href=\"https://travis-ci.org/bluelibs/smart\">\n    <img src=\"https://api.travis-ci.org/bluelibs/smart.svg?branch=master\" />\n  </a>\n  \n  <a href=\"https://coveralls.io/github/bluelibs/smart?branch=master\">\n    <img src=\"https://coveralls.io/repos/github/bluelibs/smart/badge.svg?branch=master\" />\n  </a>\n</p>\n\nSmart is a simple tool which allows you to decouple state and logic from your components.\n\nGoodies:\n\n- ✅ Uses React Hooks behind the scenes\n- ✅ Manage state and actions separately from your components\n- ✅ TypeScript auto-completion at every step\n- ✅ Ultra light-weight\n- ✅ Integration with Redux DevTools\n\n## Install\n\n```bash\nnpm install --save @bluelibs/smart\n```\n\n```tsx\nimport { Smart, smart } from \"@bluelibs/smart\";\n\n// This is where you make api queries and this is where you set or update the state\nclass Counter extends Smart {\n  state = {\n    count: 0,\n  };\n\n  increment() {\n    this.setState({ count: this.state.count + 1 });\n  }\n}\n\n// Components just call the Counter and use `counter.state`\nfunction Component() {\n  const counter = useSmart(Counter);\n\n  // Access to api.state\n  // Ability to trigger api.increment()\n}\n\nsmart(Counter)(Component);\n```\n\n## [Documentation](./DOCUMENTATION.md)\n\n[Click here to go to the documentation](./DOCUMENTATION.md)\n\n## Support\n\nThis package is part of [BlueLibs](https://www.bluelibs.com) family. If you enjoy this work please show your support by starring [the main package](https://github.com/bluelibs/bluelibs). If not, let us know what can we do to deserve it, [our feedback form is here](https://forms.gle/DTMg5Urgqey9QqLFA)\n","readmeFilename":"README.md"}