{"_id":"bing-chat","_rev":"5-d4c03bacf55e6f308c1219d5c86b87c5","name":"bing-chat","dist-tags":{"latest":"0.2.3"},"versions":{"0.0.2":{"name":"bing-chat","version":"0.0.2","description":"Node.js client for the unofficial Bing Chat API.","author":{"name":"Travis Fischer","email":"travis@transitivebullsh.it"},"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/bing-chat.git"},"license":"MIT","type":"module","source":"./src/index.ts","types":"./build/index.d.ts","exports":{".":{"import":"./build/index.js","types":"./build/index.d.ts","default":"./build/index.js"}},"engines":{"node":">=18"},"scripts":{"build":"tsup","dev":"tsup --watch","clean":"del build","prebuild":"run-s clean","predev":"run-s clean","pretest":"run-s build","docs":"typedoc","prepare":"husky install","pre-commit":"lint-staged","test":"run-p test:*","test:prettier":"prettier '**/*.{js,jsx,ts,tsx}' --check"},"dependencies":{"uuid":"^9.0.0","ws":"^8.12.0"},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^4.0.0","@types/node":"^18.11.9","@types/uuid":"^9.0.0","@types/ws":"^8.5.4","del-cli":"^5.0.0","dotenv-safe":"^8.2.0","husky":"^8.0.2","lint-staged":"^13.0.3","npm-run-all":"^4.1.5","ora":"^6.1.2","prettier":"^2.8.0","tsup":"^6.5.0","tsx":"^3.12.1","typedoc":"^0.23.21","typedoc-plugin-markdown":"^3.13.6","typescript":"^4.9.3"},"lint-staged":{"*.{ts,tsx}":["prettier --write"]},"keywords":["openai","bing","chat","search","sydney","gpt","gpt-3","gpt3","gpt4","chatbot","machine learning","conversation","conversational","ai","ml","bot"],"gitHead":"bf8522456381e1aaa38ea8ff453399f651658401","bugs":{"url":"https://github.com/transitive-bullshit/bing-chat/issues"},"homepage":"https://github.com/transitive-bullshit/bing-chat#readme","_id":"bing-chat@0.0.2","_nodeVersion":"19.2.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-sp7hmJC9+ElsFr8RFCdN3HlbQbpv8v5Xe8Zvmv6K7i8d+0ZLQGw+XsUOoZ2nA8WA3lkCz5Ycj6jptMgFfwvjEA==","shasum":"9bfd1874eb5c0fa6a9e77244586819201c6a796e","tarball":"https://registry.npmjs.org/bing-chat/-/bing-chat-0.0.2.tgz","fileCount":6,"unpackedSize":34454,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDz/Tcme6U0RC2rjP5o1SW4WFO6uPrnXcWHjaGbysQ5nwIgLSzC/HtujI9rxueT/Mb7zMPQvdroxKVYeYYgb+iIr60="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5L1hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoehg//fCHdDQm74QMR3oml/P5na7aLeYIhTtlYmk6cmGzQPfY1L6bt\r\nAx5+MMpEJkNEGm1VrDOw9zPmR3v0d6j5GZuavgPKdRIkwDwXNyaDiCeUTewv\r\nRychcuvikS6L9kSmLAnIlpIEqGFal9ZUcXUQnUJA3otqAr4ZOXv19IIuPbbK\r\nvmhojd172EjOttFXGrsXhymKSl4tDbJVFs1rhKtZ1RcXShTi3N2c/8dS3pdl\r\nasefa5AXUSemgwMwJm4QMNY5MABgNs9PXcxyDLewpdQ0yq/lqafz/DalqHni\r\nSvCA7Y3WipXjW3VOvlOO0emY2cLI7+BCXw1tw51NVnisqT/CVYrwQAdgOcLF\r\nrVn/j93OfmXMrqBRO41QRSo9W/EmmGJVh0nwMcLPWY6A0t1G6xqUxFuWZ+Hh\r\nil2tFwSWchWTn1npBSXZdXdl0v8WeOjgnyb7DP/1FvF+cyhprIgTp/KfLIl/\r\nl1gHy3EwaaibERzITMw7AqDCUpB0CBsTLYtpfnk5CZ1qOMslSyto91li+qnS\r\njKmNrLg8SlXJmNERDAksZZEvNGK3/252Pli9cAxLcyeudifXqwdhYf6hmW/I\r\nU5zABKCDEJ8ZREBCpDEeLDVXcnHbQL/9bbohe0956FkKQIxwMeKvekXQhbyT\r\nAL9E4Scvw5w2uaGG28wmeOAhPGQj8Kr/YKk=\r\n=3YhX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fisch0920","email":"fisch0920@gmail.com"},"directories":{},"maintainers":[{"name":"fisch0920","email":"fisch0920@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bing-chat_0.0.2_1675935073666_0.92417758466089"},"_hasShrinkwrap":false},"0.1.0":{"name":"bing-chat","version":"0.1.0","description":"Node.js client for the unofficial Bing Chat API.","author":{"name":"Travis Fischer","email":"travis@transitivebullsh.it"},"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/bing-chat.git"},"license":"MIT","type":"module","source":"./src/index.ts","types":"./build/index.d.ts","exports":{".":{"import":"./build/index.js","types":"./build/index.d.ts","default":"./build/index.js"}},"engines":{"node":">=18"},"scripts":{"build":"tsup","dev":"tsup --watch","clean":"del build","prebuild":"run-s clean","predev":"run-s clean","pretest":"run-s build","docs":"typedoc","prepare":"husky install","pre-commit":"lint-staged","test":"run-p test:*","test:prettier":"prettier '**/*.{js,jsx,ts,tsx}' --check"},"dependencies":{"uuid":"^9.0.0","ws":"^8.12.0"},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^4.0.0","@types/node":"^18.11.9","@types/uuid":"^9.0.0","@types/ws":"^8.5.4","del-cli":"^5.0.0","dotenv-safe":"^8.2.0","husky":"^8.0.2","lint-staged":"^13.0.3","npm-run-all":"^4.1.5","ora":"^6.1.2","prettier":"^2.8.0","tsup":"^6.5.0","tsx":"^3.12.1","typedoc":"^0.23.21","typedoc-plugin-markdown":"^3.13.6","typescript":"^4.9.3"},"lint-staged":{"*.{ts,tsx}":["prettier --write"]},"keywords":["openai","bing","chat","search","sydney","gpt","gpt-3","gpt3","gpt4","chatbot","machine learning","conversation","conversational","ai","ml","bot"],"gitHead":"f0a716e223013fcfa26a1497bd0a70a8416fcd00","bugs":{"url":"https://github.com/transitive-bullshit/bing-chat/issues"},"homepage":"https://github.com/transitive-bullshit/bing-chat#readme","_id":"bing-chat@0.1.0","_nodeVersion":"19.2.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-U9IGm4kvHUfgjwFr7v22Y+X/DbXdyAkZPbV+gJfy7bPzryGi4pu0k4wovQkco0sWad6nse6fGT48d/9DpzY9xQ==","shasum":"3b959937ff9afb1cec6e8ac7ea7614ed5b2d7df3","tarball":"https://registry.npmjs.org/bing-chat/-/bing-chat-0.1.0.tgz","fileCount":6,"unpackedSize":34454,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHT32yS819qTSDoNbioaRERmyG08e/xqmZesXZCdd+FHAiB/vLUAL+6swa6ZLAJTB4hn1nagWX6j42qapwobjt2JdQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5L7pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2RA/+NAygLN00hqYQk8s1m/d4LH8Ge3k5P6D/dz5eqjTu39DGPiw/\r\noTcnzDf/NYbO/qHgYQZafPHJY/1DKzou8hiU0q6eFKM5fQNnbFg0doI6bF3e\r\nmQjYBnJpAkZ17S8s9g8Uw9Wmv5Q/P+aIqCsPAtamWKhe0YKo8puKOogZOD8K\r\nlqekbW3vj/ZzwxP+vOi++q99zwZyDnK7d268Up1I0ZYwlfKrBxnd3Tyfnpr3\r\nY8m5OwJB9x9t3oKEJIHu8yY2jgHNw/TxK6oA2CIPLjuUwiUnTnsJcJtHnDLv\r\nsnXnJFLW8UKC60N0oo+ZkSrl6pKFixI2yA01fUJ37ewYB9JzhR8Cb8TNqOlO\r\nIt+jgXIiYUjtckVRPuAHNx2qonVnem04aIlkpAzyfg0qAjucrhQTPsvcppS8\r\n7Rs35i5nsQK9zkQERuiGLRM3VG0Nb6TuCwYypAeQfM8HnRnH6djkHPlMMyqS\r\n/f0FMyz3EVrdKaKqZanPeS2xzN9p+pyStyM0+1UYeAKebO02Jzpj5hwt4Ga8\r\ncm52yJpWHHHQipkFDzOTfKawSEHq6Ou9V1INygK22cu7IQX/PhvFte7+xQ2E\r\ndach4Lt0uDAb6FR7QVU/eWdBh70w2RN6JeII16mqZIXSSy9MCwOJ0UL/6rBN\r\nOf5y4IAzZ1e9dBnXefhYGMG4DvAGq944Wow=\r\n=Aogz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fisch0920","email":"fisch0920@gmail.com"},"directories":{},"maintainers":[{"name":"fisch0920","email":"fisch0920@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bing-chat_0.1.0_1675935465566_0.5767355099669962"},"_hasShrinkwrap":false},"0.2.0":{"name":"bing-chat","version":"0.2.0","description":"Node.js client for the unofficial Bing Chat API.","author":{"name":"Travis Fischer","email":"travis@transitivebullsh.it"},"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/bing-chat.git"},"license":"MIT","type":"module","source":"./src/index.ts","types":"./build/index.d.ts","exports":{".":{"import":"./build/index.js","types":"./build/index.d.ts","default":"./build/index.js"}},"engines":{"node":">=18"},"scripts":{"build":"tsup","dev":"tsup --watch","clean":"del build","prebuild":"run-s clean","predev":"run-s clean","pretest":"run-s build","docs":"typedoc","prepare":"husky install","pre-commit":"lint-staged","test":"run-p test:*","test:prettier":"prettier '**/*.{js,jsx,ts,tsx}' --check"},"dependencies":{"uuid":"^9.0.0","ws":"^8.12.0"},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^4.0.0","@types/node":"^18.11.9","@types/uuid":"^9.0.0","@types/ws":"^8.5.4","del-cli":"^5.0.0","dotenv-safe":"^8.2.0","husky":"^8.0.2","lint-staged":"^13.0.3","npm-run-all":"^4.1.5","ora":"^6.1.2","prettier":"^2.8.0","tsup":"^6.5.0","tsx":"^3.12.1","typedoc":"^0.23.21","typedoc-plugin-markdown":"^3.13.6","typescript":"^4.9.3"},"lint-staged":{"*.{ts,tsx}":["prettier --write"]},"keywords":["openai","bing","chat","search","sydney","gpt","gpt-3","gpt3","gpt4","chatbot","machine learning","conversation","conversational","ai","ml","bot"],"gitHead":"6927e596359e68d1dfdd172706fb42917ab4e228","bugs":{"url":"https://github.com/transitive-bullshit/bing-chat/issues"},"homepage":"https://github.com/transitive-bullshit/bing-chat#readme","_id":"bing-chat@0.2.0","_nodeVersion":"19.2.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-6QkesNdLPlUnD7KJWqhEtI9kHOcw9aIjTx8+Kmk1L6tuKUxtTZ5z0GtFwLxH97SyPP38om5nyd/lTKKZ1jX8JA==","shasum":"19bfd6b8030e4a1f472809d649e2e3d0551df7fb","tarball":"https://registry.npmjs.org/bing-chat/-/bing-chat-0.2.0.tgz","fileCount":6,"unpackedSize":34687,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvaX/LUoAApID5giO7siMtXy+weOiscFmr+6N3+SNAQQIgArn2kTshjmW0HXHF5P+pLVsyubUwIPljjAXMnf5+/vg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5MX6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqHdw//bT1JVAr+gnI0TI+DmbNt2FqanWg86pYqGkdDAq4Uq7LMOn+A\r\nj1uZa8wnUs314pFCjHo+1auYE6ZyQ+DE1SWDTl8R1lIQV/lqMGM9sCFE6TQ9\r\nvDFixrdaIwwtJkK3pNQyU4oB2MybepY6SniYspYaj+qa0qsUhpUSNtgCT4vh\r\nZVLjICAcIR6WQh3isn2PttnfjfCMYEzJ7KVX7p2KL4VgT62JbiMVpYgCy89l\r\nu5YbrxdiuRWdhzuuCt5IYPGzNH/nJgYKqGzMv5cQjYw4g1Yy5MPcSkqwDKt7\r\nln5QlNEhAgsR3QJ0fdDXQLg2YvygYRPlFlFD+uiOmV3fprUNhTFnC+KpQxGc\r\nG9wtfkty1Rt/xuCxALMNdi+/1Q8pzuBOFVVoOZG8aC1HGCAX47YO0q/HhrVh\r\nRikobr0m/rZvLdqQs2NuqP5R+Mf7fpP4zBPWbiDq4AjvS0QEMH6Um0L3pM6S\r\nh/bfNiW42sgvqn5x8j0WSMLUdsqVFYEwxSxnoHZr7P0IrSr2winAtvu2bTZi\r\nHHItLuWuAlwLlOtfxNZyN2cSZJco19oByJ6JvEmtBDEp6Iq0tTdfOzAAhTd2\r\nujcRVYMA7b8vLYYA0kmCfJCgJUUVvRRIzPAMA42Jo+JXPmeIFGWz7YvisYC0\r\nirgdLPkkV8dIrFJjUNUCfIlxUBe5KaOygKg=\r\n=v87G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fisch0920","email":"fisch0920@gmail.com"},"directories":{},"maintainers":[{"name":"fisch0920","email":"fisch0920@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bing-chat_0.2.0_1675937274108_0.18334430106125787"},"_hasShrinkwrap":false},"0.2.1":{"name":"bing-chat","version":"0.2.1","description":"Node.js client for the unofficial Bing Chat API.","author":{"name":"Travis Fischer","email":"travis@transitivebullsh.it"},"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/bing-chat.git"},"license":"MIT","type":"module","source":"./src/index.ts","types":"./build/index.d.ts","exports":{".":{"import":"./build/index.js","types":"./build/index.d.ts","default":"./build/index.js"}},"engines":{"node":">=18"},"scripts":{"build":"tsup","dev":"tsup --watch","clean":"del build","prebuild":"run-s clean","predev":"run-s clean","pretest":"run-s build","docs":"typedoc","prepare":"husky install","pre-commit":"lint-staged","test":"run-p test:*","test:prettier":"prettier '**/*.{js,jsx,ts,tsx}' --check"},"dependencies":{"ws":"^8.12.0"},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^4.0.0","@types/node":"^18.11.9","@types/uuid":"^9.0.0","@types/ws":"^8.5.4","del-cli":"^5.0.0","dotenv-safe":"^8.2.0","husky":"^8.0.2","lint-staged":"^13.0.3","npm-run-all":"^4.1.5","ora":"^6.1.2","prettier":"^2.8.0","tsup":"^6.5.0","tsx":"^3.12.1","typedoc":"^0.23.21","typedoc-plugin-markdown":"^3.13.6","typescript":"^4.9.3"},"lint-staged":{"*.{ts,tsx}":["prettier --write"]},"keywords":["openai","bing","chat","search","sydney","gpt","gpt-3","gpt3","gpt4","chatbot","machine learning","conversation","conversational","ai","ml","bot"],"gitHead":"cf36a442aeda56cfcf2b602b1580b14f73d845aa","bugs":{"url":"https://github.com/transitive-bullshit/bing-chat/issues"},"homepage":"https://github.com/transitive-bullshit/bing-chat#readme","_id":"bing-chat@0.2.1","_nodeVersion":"19.2.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-g8xQFBDGnJog/OMfh3BitdiOYBiEUGrXG1mlmmvVK2EB7upSzP6Ur4KpqkihUrlZu/R3MqwFvTt55GKom164eA==","shasum":"98e2e05671907d3eae6e00d8b8790f1971858283","tarball":"https://registry.npmjs.org/bing-chat/-/bing-chat-0.2.1.tgz","fileCount":6,"unpackedSize":34675,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWZ0uUpgndkaytqeSC3fzcb2mFXwM/Rv1IBC8KSsCMIgIgZbyyYQkRj9Gcvn2aO1u4HPEfoW1yxjHuzUXslKbnA3A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5XNMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqC8xAAl+/lclUSTXkq9yoy4YlAmjsWGdOfuWuS2mBzY/aGCFez1CNC\r\n+6bfRr52cyNxBJ6COVIhxdaJpRTLcQ7r5GG9RWx5bM3hEaVv54CgHPxJj70d\r\ndhWjD+8IMdLnVrOJI+gcAII9YbXIGepcZaB8i4UcqWm1gjtFpbsL5noxDgl/\r\nQ98u+60lhynLmN3J8ydQVRcVjUk8wQQa3saM2o0kfw2d+nh4kSkmAncMkuZB\r\n09ZDl5nb49Sp/kHZXjrGN/LuqLgqJzGYVJxLgFytYOPURnPVl7gSZZ0SZKz1\r\nFrT8IcHMR61bPsrpUoD1G/QY1gDy0o7zj2LTnkJzNd2SuqjsD4YIw5TwvX26\r\n4vsF2zSIiiiJ8/JxcY68xzP7xTgGssYQIqzXBkISLN5dq7o5zekU7HHOppLe\r\nxPPPpkyPqV5VRRyWhmOK0eizz32YEhLDUoQIKuTyKDrVZrWCDgDdllc6kttw\r\nUtylDHxJVMGsx/r77XOi6gNcB3HUyzruhf+1rLUwSDNgjxP7kBz9tnZljFeV\r\nN3QeSeotympEx6BPw/HKl4+YUXDs9Trlw11lUkAD3PVmwHaTLvcI2zGJts8e\r\nZVa53BpKqcbqvG3aSGO2yJAIbs02aC1gkwIqHo6Tcy2Af24o1tXwbVAj7juv\r\nylUXRH/hmCBq8VE8Q+oojMGd2H/t1Opq4iE=\r\n=YoNK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fisch0920","email":"fisch0920@gmail.com"},"directories":{},"maintainers":[{"name":"fisch0920","email":"fisch0920@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bing-chat_0.2.1_1675981644205_0.292936086777315"},"_hasShrinkwrap":false},"0.2.2":{"name":"bing-chat","version":"0.2.2","description":"Node.js client for the unofficial Bing Chat API.","author":{"name":"Travis Fischer","email":"travis@transitivebullsh.it"},"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/bing-chat.git"},"license":"MIT","type":"module","source":"./src/index.ts","types":"./build/index.d.ts","exports":{".":{"import":"./build/index.js","types":"./build/index.d.ts","default":"./build/index.js"}},"engines":{"node":">=18"},"scripts":{"build":"tsup","dev":"tsup --watch","clean":"del build","prebuild":"run-s clean","predev":"run-s clean","pretest":"run-s build","docs":"typedoc","prepare":"husky install","pre-commit":"lint-staged","test":"run-p test:*","test:prettier":"prettier '**/*.{js,jsx,ts,tsx}' --check"},"dependencies":{"ws":"^8.12.0"},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^4.0.0","@types/node":"^18.11.9","@types/uuid":"^9.0.0","@types/ws":"^8.5.4","del-cli":"^5.0.0","dotenv-safe":"^8.2.0","husky":"^8.0.2","lint-staged":"^13.0.3","npm-run-all":"^4.1.5","ora":"^6.1.2","prettier":"^2.8.0","tsup":"^6.5.0","tsx":"^3.12.1","typedoc":"^0.23.21","typedoc-plugin-markdown":"^3.13.6","typescript":"^4.9.3"},"lint-staged":{"*.{ts,tsx}":["prettier --write"]},"keywords":["openai","bing","chat","search","sydney","gpt","gpt-3","gpt3","gpt4","chatbot","machine learning","conversation","conversational","ai","ml","bot"],"gitHead":"1e4bf30cece8c2e136413a88def132e1ba8f8f2d","bugs":{"url":"https://github.com/transitive-bullshit/bing-chat/issues"},"homepage":"https://github.com/transitive-bullshit/bing-chat#readme","_id":"bing-chat@0.2.2","_nodeVersion":"19.6.1","_npmVersion":"9.4.0","dist":{"integrity":"sha512-GaGRPpncItZQpgaI9/JeqNh/vqDOgzuk/MzwqHQ7J81bGj5Jjx3abi9Y9BvuvkM0mfbM7G19jz6/qabiiolkTQ==","shasum":"077c1a8b84843bc83b6c5e0f3830b74e841e302c","tarball":"https://registry.npmjs.org/bing-chat/-/bing-chat-0.2.2.tgz","fileCount":6,"unpackedSize":34929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCC3uu25ig72vTjDRFRbEpCY3o+e1gm2QR0NTK+NTXaKgIhAK0sI/nav2h0PG/mq1YEMTbZv2L+x1DIIB2ZmDeLTfe9"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEfI9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrN6A//bOFnnS9iwIvrszMzKjWskO/Mr3RfaYw846WtAmbiGfidIgEx\r\n5d6NVtTrN05YTL1Chs8GBL/+EKYqttexV3lpv2ng2ZW9NTZ7Pl/oetVxIJmt\r\nd/XaTskQqsbnzE9QbOew/oVyspxA7O/+gUsMcms9/pxqlaoES/2VMKpmAPdg\r\nEOjmGvhO0wBMr1mFt83Kd3kgrrGEx02bflMwWM2f/VB/pgOSYGBrjAkvpNaa\r\nqVVOuyxmCCx0l8z3woTtfr9cGD9S4RmAtGgKe9wX6VAq2DUErgKi3VemCegR\r\nBbEpBOlNtqS1fGg4zgLts174VaNihWHnB0erCfVARrDtvQZgqAxRUMfhCo5K\r\nly822r/ALUwUpf6o+AZ4SdhXz4G7Eka59GqSnVP+1JxdJePEuRbN0fbfJ0z0\r\nnFi+KpJA/0J3ewvfBmgdeO5KpEhnFOhkN0ozpLXKvGmSV9fafbJyrwFoT/gT\r\nPfLZdoITg479gLq1seyAlq+fNdHbmfFYdHkTRtjoyxg8xsP1O19SKKETD7Vp\r\nSjG+rnBn9CWMp8wtRKtfjQPeiyAYJU52XORP9+3lBiTOxiW4hlDjLcDbbKjv\r\nr2uUiJtyzNoMyNVw+GBEcnZGpJBDkyaKj0OqCVhc+sxwuagHXpl9Ib4f64rH\r\nzFvRIPq17y++Ou9+CfqcV9RSAvWc7meVB0o=\r\n=oquc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fisch0920","email":"fisch0920@gmail.com"},"directories":{},"maintainers":[{"name":"fisch0920","email":"fisch0920@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bing-chat_0.2.2_1678897724835_0.7449047057775489"},"_hasShrinkwrap":false},"0.2.3":{"name":"bing-chat","version":"0.2.3","description":"Node.js client for the unofficial Bing Chat API.","author":{"name":"Travis Fischer","email":"travis@transitivebullsh.it"},"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/bing-chat.git"},"license":"MIT","type":"module","source":"./src/index.ts","types":"./build/index.d.ts","exports":{".":{"import":"./build/index.js","types":"./build/index.d.ts","default":"./build/index.js"}},"engines":{"node":">=18"},"scripts":{"build":"tsup","dev":"tsup --watch","clean":"del build","prebuild":"run-s clean","predev":"run-s clean","pretest":"run-s build","docs":"typedoc","prepare":"husky install","pre-commit":"lint-staged","test":"run-p test:*","test:prettier":"prettier '**/*.{js,jsx,ts,tsx}' --check"},"dependencies":{"ws":"^8.13.0"},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^4.1.1","@types/node":"^18.15.3","@types/uuid":"^9.0.1","@types/ws":"^8.5.4","del-cli":"^5.0.0","dotenv-safe":"^8.2.0","husky":"^8.0.2","lint-staged":"^13.2.0","npm-run-all":"^4.1.5","ora":"^6.1.2","prettier":"^2.8.4","tsup":"^6.6.3","tsx":"^3.12.5","typedoc":"^0.23.26","typedoc-plugin-markdown":"^3.13.6","typescript":"^4.9.3"},"lint-staged":{"*.{ts,tsx}":["prettier --write"]},"keywords":["openai","bing","chat","search","sydney","gpt","gpt-3","gpt3","gpt4","chatbot","machine learning","conversation","conversational","ai","ml","bot"],"gitHead":"26f01ac403731de8f28887af0438646d9c449849","bugs":{"url":"https://github.com/transitive-bullshit/bing-chat/issues"},"homepage":"https://github.com/transitive-bullshit/bing-chat#readme","_id":"bing-chat@0.2.3","_nodeVersion":"19.6.1","_npmVersion":"9.4.0","dist":{"integrity":"sha512-q9JIGqrrEhBEgIhTdtawvxcwQO5sdhMN3uATbLxpd52sH0+Jm7QhtsaodlLUbQgEQGo+YXfFPWWpK5lWMXGvHw==","shasum":"aba19c55e5dfbe12ceae6e26cbbaf405c146703f","tarball":"https://registry.npmjs.org/bing-chat/-/bing-chat-0.2.3.tgz","fileCount":6,"unpackedSize":36948,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQz4jvQph4PddsgZFok49rxoxmqNaVbV+TvT0pzp++RgIgbUfUGDaiBLmKygzEPDDllWFg0qWx6lwd7vxqdEL21oM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEfO1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6bxAAlChabv2+YZ2Np66Jl9tedQ9kGwYXDj7FoGY76vRYlzv2SoAk\r\ns4kxgUobDDMsOjDRv+UUtsOm4/HIHMkjkb8NVEot3aaQUNl+6bCMDMT0CB3o\r\nd38crobw0p9MH1L++NRr8uPhPcjPoQbH48uokYwFBUIOjTsjdxSUGE3+mZm5\r\npN5yqeWkm2MPBAWyFBYId3S2H17YlaP6OendHhOimghX9GixNni5O2VnrTLt\r\nxXAuSgCNBPctz3gNcJ/PomxC/aQH0jJMkwr1F+qECK8/edbizm58D2jRcqES\r\nw1BXHcbZLB90vipTAYvDY5bor0UbZ7HRqeeWR4uPiL1e66ttulfvLXREK7Kh\r\nrW3Go2R3c49D2al2T55oCKVMYrc3I2OBTEAuEdtTegdVRw+9uJtK04UsqcFP\r\nnTeTbVtbLPkap7Lus/FZLqrUKUeDqZRhELfyxFOpiSLXc8qh4Q3x7NWwsZ39\r\nEPFGHF7jfZOGs6NbfywUXYyAoUmirmjHZDIFUd1XlKQrJ/ixbAXfICGwOG2e\r\nlHcVMsKpwfNOpWBOcWxlkm0l0ynmI0uEj87gGGgHWzYuZAiEJeZC8t6WPlCY\r\nwHMS2vqfzY5nH0y7ykH+zwv2815HfJY66UikAjDiqDQPqOD0+mhpbrPQ2H3h\r\nTsgYN8pOpDYXb2aMNgcb8YxRV6vAQuXwG6I=\r\n=SlTb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fisch0920","email":"fisch0920@gmail.com"},"directories":{},"maintainers":[{"name":"fisch0920","email":"fisch0920@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bing-chat_0.2.3_1678898101131_0.21055550576030102"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-09T09:31:13.665Z","0.0.2":"2023-02-09T09:31:13.863Z","modified":"2023-03-15T16:35:01.460Z","0.1.0":"2023-02-09T09:37:45.815Z","0.2.0":"2023-02-09T10:07:54.305Z","0.2.1":"2023-02-09T22:27:24.352Z","0.2.2":"2023-03-15T16:28:45.095Z","0.2.3":"2023-03-15T16:35:01.335Z"},"maintainers":[{"name":"fisch0920","email":"fisch0920@gmail.com"}],"description":"Node.js client for the unofficial Bing Chat API.","homepage":"https://github.com/transitive-bullshit/bing-chat#readme","keywords":["openai","bing","chat","search","sydney","gpt","gpt-3","gpt3","gpt4","chatbot","machine learning","conversation","conversational","ai","ml","bot"],"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/bing-chat.git"},"author":{"name":"Travis Fischer","email":"travis@transitivebullsh.it"},"bugs":{"url":"https://github.com/transitive-bullshit/bing-chat/issues"},"license":"MIT","readme":"# Bing Chat API <!-- omit in toc -->\n\n> Node.js client for the unofficial Bing Chat API. It's like ChatGPT on steroids 🔥\n\n[![NPM](https://img.shields.io/npm/v/bing-chat.svg)](https://www.npmjs.com/package/bing-chat) [![Build Status](https://github.com/transitive-bullshit/bing-chat/actions/workflows/test.yml/badge.svg)](https://github.com/transitive-bullshit/bing-chat/actions/workflows/test.yml) [![MIT License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/transitive-bullshit/bing-chat/blob/main/license) [![Prettier Code Formatting](https://img.shields.io/badge/code_style-prettier-brightgreen.svg)](https://prettier.io)\n\n- [Intro](#intro)\n- [Demo](#demo)\n- [Install](#install)\n- [Usage](#usage)\n- [Projects](#projects)\n- [Compatibility](#compatibility)\n- [Credit](#credit)\n- [Related](#related)\n- [License](#license)\n\n## Intro\n\nThis package is a Node.js wrapper around Bing Chat by Microsoft. TS batteries included. ✨\n\n> **Warning**\n> This package is a reverse-engineered hack. I do not expect it to continue working long-term, and it is not meant for use in production. I'm building this in public, and you can follow the progress on Twitter [@transitive_bs](https://twitter.com/transitive_bs).\n\n## Demo\n\n<p align=\"center\">\n  <img alt=\"Example conversation\" src=\"/media/demo.gif\">\n  <i>(30s conversation demo)</i>\n</p>\n\n## Install\n\n```bash\nnpm install bing-chat\n```\n\nMake sure you're using `node >= 18` so `fetch` is available.\n\n## Usage\n\n**You need access to Bing Chat OR a valid cookie from someone who has access**.\n\nThe cookie you need from Bing is the `_U` cookie (or just all of the cookies concatenated together; both will work).\n\n```ts\nimport { BingChat } from 'bing-chat'\n\nasync function example() {\n  const api = new BingChat({\n    cookie: process.env.BING_COOKIE\n  })\n\n  const res = await api.sendMessage('Hello World!')\n  console.log(res.text)\n}\n```\n\nYou can follow-up messages to continue the conversation. See `demos/demo-conversation.ts` for an example.\n\nNote that Bing Chat conversations expire after about 20 minutes, so they're not meant to be long-term objects.\n\nYou can add streaming via the `onProgress` handler:\n\n```ts\nconst res = await api.sendMessage('Write a 500 word essay on frogs.', {\n  // print the partial response as the AI is \"typing\"\n  onProgress: (partialResponse) => console.log(partialResponse.text)\n})\n\n// print the full text at the end\nconsole.log(res.text)\n```\n\nSee `demos/demo-on-progress.ts` for a full example of streaming support.\n\nYou can also add the the parameter `variant` to the `sendMessage` function to change the variant of the AI. The default is `Balanced`, but you can also use `Precise` or `Creative`.\n\n```ts\nconst res = await api.sendMessage('Write a 500 word essay on frogs.', {\n  // change the variant to 'Precise'\n  variant: 'Creative'\n})\n```\n\n## Projects\n\nIf you create a cool integration, feel free to open a PR and add it to the list.\n\n## Compatibility\n\n- This package is ESM-only.\n- This package supports `node >= 18`.\n- This module assumes that `fetch` is installed globally.\n- If you want to build a website using `bing-chat`, we recommend using it only from your backend API\n\n## Credit\n\n- Thanks to [waylaidwanderer](https://github.com/waylaidwanderer) and [canfam](https://github.com/canfam) for helping to reverse-engineer the API 💪\n\n## Related\n\n- [chatgpt](https://github.com/transitive-bullshit/chatgpt-api) - Node.js client for the unofficial ChatGPT API. Same author as this package.\n- [discord](https://discord.gg/v9gERj825w) - Join our discord server for hackers building on top of ChatGPT / Bing / LLMs.\n\n## License\n\nMIT © [Travis Fischer](https://transitivebullsh.it)\n\nIf you found this project interesting, please consider [sponsoring me](https://github.com/sponsors/transitive-bullshit) or <a href=\"https://twitter.com/transitive_bs\">following me on twitter <img src=\"https://storage.googleapis.com/saasify-assets/twitter-logo.svg\" alt=\"twitter\" height=\"24px\" align=\"center\"></a>\n","readmeFilename":"readme.md"}