{"_id":"@agoric/insist","_rev":"13-6a299f00b4f6be7e5bbb7d68d890f763","name":"@agoric/insist","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@agoric/insist","version":"0.0.1","keywords":["insist","assert"],"author":{"name":"Agoric"},"license":"Apache-2.0","_id":"@agoric/insist@0.0.1","maintainers":[{"name":"michaelfig","email":"michael@fig.org"},{"name":"katesills","email":"kate@agoric.com"},{"name":"warner","email":"warner-npm@lothar.com"},{"name":"erights","email":"erights@gmail.com"}],"homepage":"https://github.com/Agoric/agoric-sdk#readme","bugs":{"url":"https://github.com/Agoric/agoric-sdk/issues"},"dist":{"shasum":"fc81893d0f10c0cd42678f5ede46d34c2033a466","tarball":"https://registry.npmjs.org/@agoric/insist/-/insist-0.0.1.tgz","fileCount":6,"integrity":"sha512-aO0LsDHxWwdHdsomLILt0QsX5O25D2Qms/Sw8b1KZpPolLTEHIxHoM992IN2FzjvEvDZYZjc4Wlyt2xFYAI9Ow==","signatures":[{"sig":"MEQCIFdfulMKEYiCsaMeaqacO2EjVBCE8lI9YHEaKJfMtH23AiB+DL6TRrk0u7UV4uKWQ0mCEktzLvPNwGNu9i9n/KViYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOLKZCRA9TVsSAnZWagAA8A8P/2sqtSt8pob0Lv//uIZR\nE/kJjhWMGP67tXcbTSDZ4Cuqcayxo4ydNfxkbfTY4qpCyUG46ysRfCtX+RoO\nBnoLi+tbgIX/lFIgcfAxNYERG6l6aUgq8m1qiwC5zOn7umQC2rOIRotKsa8V\ndhg7BaCpxVOuiY1dwXWGGYEWX/1PVpB8GHrjeB61OVivB4ghrcCsjEja3eUV\ne/h9YzhYm53i1FzxfLNn7LwK0rp4ecXvcRrH8Zue8lx0vcmlu0vPMBPwf9dZ\nE5CCjN34Vsph4zU3oIhnsw6ORWgO1obnJXv6qG4fzxLU2M83Yu5D0RWrRzGm\nLFs/TodpspeyB/UcgLOwLtVaAwXb5tOd+bhFJ5HSJtu/1aUerBr54E1Jc87W\n2Yd70ocl1PPB3+en7DNbSF2CAZfOJQLdrdRMi6xuJWccGIgfxP3MLzf3WV2S\nwM6QwrP24hbO458cy15Sl4AkoUJ7dwAwF8zqoEqyA6JCfJils/cN3Viso0G1\nXbjY+ejrzkR98WY6xnblD6dfBceS8+rVSxSwqXuT4wQYZnWY37pmu2yLgh3n\nwlbXgoW6UoAQlhUAQiEE6o78AneDrSbE+x/IJesovnmHgHZDVsSXRaXUF+Bl\ncNsqAojP22jPxMtgOAW7SCjMKU8pU8Vx+wkj/vUdwh4Ptkj8EnJL0vxI0syG\njrkR\r\n=EAhf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/insist.js","engines":{"node":">=11.0"},"scripts":{"test":"exit 0","build":"exit 0","lint-fix":"eslint --fix '**/*.js'","lint-check":"eslint '**/*.js'","lint-fix-jessie":"eslint -c '.eslintrc-jessie.js' --fix '**/*.js'","lint-check-jessie":"eslint -c '.eslintrc-jessie.js' '**/*.js'"},"_npmUser":{"name":"katesills","email":"kate@agoric.com"},"prettier":{"singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+https://github.com/Agoric/agoric-sdk.git","type":"git"},"description":"Assert expression is truthy or throw error","directories":{},"dependencies":{"@agoric/harden":"^0.0.4"},"eslintConfig":{"env":{"es6":true},"rules":{"strict":"off","no-console":"off","arrow-parens":"off","no-loop-func":"off","no-unused-vars":["error",{"argsIgnorePattern":"^_","varsIgnorePattern":"^_"}],"no-return-assign":"off","no-param-reassign":"off","no-restricted-syntax":["off","ForOfStatement"],"no-inner-declarations":"off","no-unused-expressions":"off","function-paren-newline":"off","implicit-arrow-linebreak":"off","import/prefer-default-export":"off"},"extends":["airbnb-base","plugin:prettier/recommended"]},"eslintIgnore":["bundle-*.js"],"_hasShrinkwrap":false,"devDependencies":{"esm":"^3.2.25","tape":"^4.11.0","tap-spec":"^5.0.0","tape-promise":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/insist_0.0.1_1580774041313_0.08750435306325466","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-02-03T23:54:01.126Z","modified":"2026-05-05T21:00:27.564Z","0.0.1":"2020-02-03T23:54:01.459Z"},"bugs":{"url":"https://github.com/Agoric/agoric-sdk/issues"},"author":{"name":"Agoric"},"license":"Apache-2.0","homepage":"https://github.com/Agoric/agoric-sdk#readme","keywords":["insist","assert"],"repository":{"url":"git+https://github.com/Agoric/agoric-sdk.git","type":"git"},"description":"Assert expression is truthy or throw error","maintainers":[{"email":"erights@gmail.com","name":"erights"},{"email":"mathieu+npmjs@agoric.com","name":"mhofman"},{"email":"michael@fig.org","name":"michaelfig"},{"email":"kris.kowal@cixar.com","name":"kriskowal"},{"email":"devops@agoric.com","name":"agoricbot"},{"email":"mujahidkay@gmail.com","name":"mujahidkay"},{"email":"richard.gibson@gmail.com","name":"gibson042"},{"email":"sam@agoric.com","name":"samsiegart"}],"readme":"# Insist\n\nThrow (using provided error message) if expression is false.\n\n\n```js\ninsist(expr)`custom error message`;\n```\n\nIf expr is falsy, then the template contents are reported to the\nconsole and also in a thrown error.\n\nThe literal portions of the template are assumed non-sensitive, as\nare the typeof types of the substitution values. These are\nassembles into the thrown error message. The actual contents of the\nsubstitution values are assumed sensitive, to be revealed to the\nconsole only. We assume only the virtual platform's owner can read\nwhat is written to the console, where the owner is in a privileged\nposition over computation running on that platform.\n","readmeFilename":"README.md"}