{"_id":"@byu-oit/pg-escape","_rev":"18-c7ac23088c58666f404c9baf7907455d","name":"@byu-oit/pg-escape","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@byu-oit/pg-escape","version":"1.0.0","keywords":["pg","postgres","escape","query"],"license":"MIT","_id":"@byu-oit/pg-escape@1.0.0","maintainers":[{"name":"martingarn","email":"martin_garn@byu.edu"},{"name":"blakemorgan","email":"b.morgan.296@gmail.com"},{"name":"byujol","email":"byujol@gmail.com"},{"name":"yoshutch","email":"scott_hutchings@byu.edu"},{"name":"lehinpm","email":"lehi_alcantara@byu.edu"},{"name":"oscea","email":"it@byu.edu"},{"name":"stuft2","email":"spencer.tuft@gmail.com"},{"name":"pauldeden","email":"byu-oit-npmjs@byu.edu"},{"name":"mhailstone","email":"matthew.hailstone@gmail.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"garygsc","email":"garygsc@gmail.com"}],"homepage":"https://github.com/byu-oit/pg-escape#readme","bugs":{"url":"https://github.com/byu-oit/pg-escape/issues"},"dist":{"shasum":"c48b3631e983c9bd1c363d4380c98603914d8668","tarball":"https://registry.npmjs.org/@byu-oit/pg-escape/-/pg-escape-1.0.0.tgz","fileCount":9,"integrity":"sha512-4869A4Ya7D1UbXtdQA/HoGLGbqbU1J0Hq3gPq+ZX87lmLFkmOFKtbRp76NOsxko0VVr2cNlEse4Hheaqwdcg5A==","signatures":[{"sig":"MEUCIC0fw4gCnc08W77i5qITQaKYrBIxL7gWHIWAlH5thB/dAiEA0i64yeQA5zLkbGfC2m5G/NZ4+Kcnr+rJKRL4yVLTq0o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZZ4PCRA9TVsSAnZWagAAdz0QAJe/1hEte8j10Zza+TJm\nJbe/mHujsZ5H6HgsSzKj4w/TUzMz2lYzX0slT6dxQoNbi9c/63juNIO0GEBQ\nZPY4zCsaKpWMC5O42BzSkRkwArFyjr9C+Yt7P1F57YPAM2mieEp9fCjVYLrh\nGKd1z4aF8cwL85i2cuQ5+lH2Q6Qmre/IfM1J7ZkuWaIsXxQ8a3Z3qo4mQVdE\njCtM32BtKXaxVd2oYIHL4zaJOIoEIBiXD+Uky66ZvFUECBVIa+UpJ2MPfFVw\nFDSDkBeGbZxd9lERjYJt/t6ZN6BvCldPHerzUuUYBwq+u48e0anJF00Jbak/\nQl9C7+H2fE44zfPP1ti0cc26nFnhw0SIMDw6HAoXA5MACR8yEEyjMOcODjjg\n/qECO76Yx+LqCZ4mXimjTtD/e3p17cIORVydpwP67ylfINthCAf3W3XSgf0r\n2eD8E1eECLaarA/KM0xEToP/Bhb6AF/YDYIhqMK6xSFpEM/h7DAE+mTqLRDr\nEUA7wWrBRRS1WtRjMFyWJfvll9HpfQBmE+3jfTuuM1P2yQF4eQkPsWZ8AR7l\nKFC/QzTC9JLZ9Le2x4hQ90i7wa0eY26dcaJcoU2KVFPKroleE0PF8VdLPe+J\nC8hNGFVG2r7/WXQz/nlel1sgv+oN0osmPeLXly8LSwY4PhXBihDX04vR5a7Z\nEVfy\r\n=5A8w\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"ea44f2fd35810d166a2c1829b40cee6071ad69a3","scripts":{"test":"mocha --require should --reporter spec"},"_npmUser":{"name":"stuft2","email":"spencer.tuft@gmail.com"},"repository":{"url":"git+https://github.com/byu-oit/pg-escape.git","type":"git"},"_npmVersion":"6.10.2","description":"escape postgres queries which do not support stored procedures","directories":{},"_nodeVersion":"10.15.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"*","should":"*"},"_npmOperationalInternal":{"tmp":"tmp/pg-escape_1.0.0_1566940686206_0.8983889476891762","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@byu-oit/pg-escape","version":"1.1.0","keywords":["pg","postgres","escape","query"],"license":"MIT","_id":"@byu-oit/pg-escape@1.1.0","maintainers":[{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"blakemorgan","email":"b.morgan.296@gmail.com"},{"name":"byujol","email":"byujol@gmail.com"},{"name":"garygsc","email":"garygsc@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"lehinpm","email":"lehi_alcantara@byu.edu"},{"name":"martingarn","email":"martin_garn@byu.edu"},{"name":"mhailstone","email":"matthew.hailstone@gmail.com"},{"name":"oscea","email":"it@byu.edu"},{"name":"pauldeden","email":"byu-oit-npmjs@byu.edu"},{"name":"stuft2","email":"spencer.tuft@gmail.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"},{"name":"yoshutch","email":"scott_hutchings@byu.edu"}],"homepage":"https://github.com/byu-oit/pg-escape#readme","bugs":{"url":"https://github.com/byu-oit/pg-escape/issues"},"dist":{"shasum":"1f77e867900ba40350698cac7e4f8ddca5c28726","tarball":"https://registry.npmjs.org/@byu-oit/pg-escape/-/pg-escape-1.1.0.tgz","fileCount":9,"integrity":"sha512-zMDCWI3aov5srP0K3iCgaukhxWoz8EwT0MumZHB8IaO8X904gEn1B9vCnDX+93KRvJPgrgCK9cIU7aX+mEBSoA==","signatures":[{"sig":"MEYCIQCTAzd6YPA2Q5Kha7VKrT/9bvAEuYeS6aic2jANfb/5jwIhAK8ezoviI3nnvu65fs59ImDXqP9m0NmUhLG4mgtMj4FH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZrnKCRA9TVsSAnZWagAA1wIP/RB3H6yi+cTpoaAXW7TZ\nBukOcdrR59VrSoPE9ufdp1j3YLmrLFwPkkoENaJ1BpvqSC4LUtrN0idHdBZO\nOUSVzEwyLYIRMUk+Mf9FDPP3obyZ0FHN33pTJTytoulE7YP0V8K49EJIkAHv\nI4ToMyvyeMZ7bHzjyN419yIu3L+1GM7lDzDyFLtnoN8XsJNm4OOhFmQhPTpC\nGuyizC74jHhYmpR4XGgYyRzxMUnBFx3osdFYhFY2XGj/T5PV44Gk8vkX067Q\nTbCx6wn41q3vLKv1WzDMI1MyWfuSdUf5AbzlzqLfiqvf63zlnvnASDOZZk7k\narxLlQ7HhvGxOW6RBclnFLywbryEW3jbsOvom6b6e/zwUte+S/9QWigCAXhE\nqivW7O5EiSg3MPleDCj/la8PodZkWD6EY46qroK6RUh+2yTlwaNwe8Qc9wGx\nouAFb8vtWrld7xLg7tqvSEWkDRZpDfhCun5I4Z352lPsrEXRaYh2TekTmCmq\n5zxdqGlhkNyvWRSTKSAo0RSt0dAIEPw2Un093areqY4yaphP5YpFwJib7kEw\nwCf+1Hy3cjAXktb02Wl1y/DmKapVR6o+CTWL+IZNPku1nameWVAHXDGIOEgP\nH5GHP6ycKZKhd2MuSLYya8I9+IieOr0gO32zMAdVyWWdXM5wQKkW1nVw8ZGA\nJENC\r\n=mk3d\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"8e770f14018e0e26acccc0f1494bf2e2b1334f6a","scripts":{"test":"mocha --require should --reporter spec"},"_npmUser":{"name":"stuft2","email":"spencer.tuft@gmail.com"},"repository":{"url":"git+https://github.com/byu-oit/pg-escape.git","type":"git"},"_npmVersion":"6.10.2","description":"escape postgres queries which do not support stored procedures","directories":{},"_nodeVersion":"10.15.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"*","should":"*"},"_npmOperationalInternal":{"tmp":"tmp/pg-escape_1.1.0_1567013321370_0.3086423345059468","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@byu-oit/pg-escape","version":"1.2.0","keywords":["pg","postgres","escape","query"],"license":"MIT","_id":"@byu-oit/pg-escape@1.2.0","maintainers":[{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"blakemorgan","email":"b.morgan.296@gmail.com"},{"name":"byujol","email":"byujol@gmail.com"},{"name":"garygsc","email":"garygsc@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"lehinpm","email":"lehi_alcantara@byu.edu"},{"name":"martingarn","email":"martin_garn@byu.edu"},{"name":"mhailstone","email":"matthew.hailstone@gmail.com"},{"name":"oscea","email":"it@byu.edu"},{"name":"pauldeden","email":"byu-oit-npmjs@byu.edu"},{"name":"stuft2","email":"spencer.tuft@gmail.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"},{"name":"yoshutch","email":"scott_hutchings@byu.edu"}],"homepage":"https://github.com/byu-oit/pg-escape#readme","bugs":{"url":"https://github.com/byu-oit/pg-escape/issues"},"dist":{"shasum":"e1223960f8f30659c8c7e9cd777f18c6cab51a0c","tarball":"https://registry.npmjs.org/@byu-oit/pg-escape/-/pg-escape-1.2.0.tgz","fileCount":9,"integrity":"sha512-aLKcB2tf5nSgV4OXIBe+C1vET86OREobRHvgziSr6L9nhkc8yssc64YYuCGuxvX6Bgf1lo/umDOae6NwsoOq8A==","signatures":[{"sig":"MEUCIHXTmTI6/DdXT9LBfKTicTmzX8zCOdLSKzcNIMjLa+WFAiEAnyOSA6BwXsFYxZWfGR8+KE1RY588eS9Z4EpFhk6hPoY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbR5jCRA9TVsSAnZWagAAdlgQAKJskRCyszInZTdbKwAV\nIWY78215MzDtW8uyk9sbo6/HRYEfdVQeQq17CcNkHx4WPivibffe5m0fD2mL\nNxbJxyJnSFDRdZGNtXoRuv++6gFTh2p+lcMXJdVy8TDGMYGbdWtCiDTEJT/v\n+mZ+ou89JLnrf3/Vn6AY5TmWakHIDW2+5TMj3kS+urrKkyLAq3DpBX2cIjIF\nq+c2kiCoWoWy/8TOVpqZuxgYyfa+bPY3eejtxBv945WPCZdqPMcHy0IjX1TJ\nkhw646Dq993CQatYtkBX3XMPBP/T5KSMfumeUX+r7X0ppX7nNRAJIOnnOvHA\nhe41ZIiL+H996kiBP5R/BPtK37PVF58LoPIzVqV68Ul8e0Smieamd5DqUn3c\nlEBtiNTZVafk8acJYQywNuP13VThd9I3Ijl49Z1blqxcEhZZB7JRbhPdUNzr\nXNOfNd+LZjRvipf0Pz3gy7TmdSM0aSNL/5O+OxbimXwfLJUbLU7utwUeVAOv\nbt8+ZTweuG6XO6RKb6CqdnYoWLcBX+1aVrI7RmP1pooyledhGIT34A9mJNta\ne+52bo9Fuihc/iyeYYiesFXcUQ/K0h3WxDE4RdlC/hU7HwouxAsX8RDhnpas\nvwTotmG7pXmCZzSdB/oq5pCQ9ySH7tRUfhGw9renOTmulovw9oSuAVKUgv9Y\nfXMI\r\n=HQrF\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"5d70400d69dc4b57940fb1c59b4903898a502dad","scripts":{"test":"mocha --require should --reporter spec"},"_npmUser":{"name":"stuft2","email":"spencer.tuft@gmail.com"},"repository":{"url":"git+https://github.com/byu-oit/pg-escape.git","type":"git"},"_npmVersion":"6.10.2","description":"escape postgres queries which do not support stored procedures","directories":{},"_nodeVersion":"10.15.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"*","should":"*"},"_npmOperationalInternal":{"tmp":"tmp/pg-escape_1.2.0_1567432290408_0.5546448940330926","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-08-27T21:18:06.136Z","modified":"2026-07-06T18:16:51.265Z","1.0.0":"2019-08-27T21:18:06.463Z","1.1.0":"2019-08-28T17:28:41.718Z","1.2.0":"2019-09-02T13:51:30.527Z"},"bugs":{"url":"https://github.com/byu-oit/pg-escape/issues"},"license":"MIT","homepage":"https://github.com/byu-oit/pg-escape#readme","keywords":["pg","postgres","escape","query"],"repository":{"url":"git+https://github.com/byu-oit/pg-escape.git","type":"git"},"description":"escape postgres queries which do not support stored procedures","maintainers":[{"email":"scott_hutchings@byu.edu","name":"yoshutch"},{"email":"lehi_alcantara@byu.edu","name":"lehinpm"},{"email":"it@byu.edu","name":"oscea"},{"email":"stuft2@protonmail.com","name":"stuft2"},{"email":"matthew.hailstone@gmail.com","name":"mhailstone"},{"email":"arasmus8@gmail.com","name":"arasmus8"},{"email":"garygsc@gmail.com","name":"garygsc"},{"email":"github@snelg.com","name":"snelg"},{"email":"danielduraesm@gmail.com","name":"gholl0"},{"email":"developertools@byu.edu","name":"byu-oit-bot"},{"email":"micah.weatherhead@gmail.com","name":"mjweather"},{"email":"jvisker@byu.edu","name":"jvisker"}],"readme":"\n# pg-escape\n\n  Sprintf-style postgres query formatting and escape helper functions.\n\n## Installation\n\n```\n$ npm install pg-escape\n```\n\n## Example\n\n```js\nvar sql = escape('INSERT INTO %I VALUES(%L)', 'books', \"O'Reilly\");\nconsole.log(sql);\n```\n\nyields:\n\n```\nINSERT INTO books VALUES('O''Reilly')\n```\n\n## API\n\n### escape(fmt, ...)\n\n Format the given arguments.\n\n### escape.string(val)\n\n  Format as a simple string.\n\n### escape.dollarQuotedString(val)\n\n  Format as a [dollar quoted string](http://www.postgresql.org/docs/8.3/interactive/sql-syntax-lexical.html#SQL-SYNTAX-DOLLAR-QUOTING)\n\n### escape.ident(val)\n\n  Format as an identifier.\n\n### escape.literal(val)\n\n  Format as a literal.\n\n## Formats\n\n- `%s` formats the argument value as a simple string. A null value is treated as an empty string.\n- `%Q` formats the argument value as a [dollar quoted string](http://www.postgresql.org/docs/8.3/interactive/sql-syntax-lexical.html#SQL-SYNTAX-DOLLAR-QUOTING). A null value is treated as an empty string.\n- `%I` treats the argument value as an SQL identifier, double-quoting it if necessary. It is an error for the value to be null.\n- `%L` quotes the argument value as an SQL literal. A null value is displayed as the string NULL, without quotes.\n- `%%` In addition to the format specifiers described above, the special sequence %% may be used to output a literal % character.\n\n# License\n\n  MIT","readmeFilename":"Readme.md"}