{"_id":"anthropic-ai","_rev":"9-ff7c1a19d8b67a396a541ea9437a719a","name":"anthropic-ai","dist-tags":{"latest":"0.0.10"},"versions":{"0.0.1":{"name":"anthropic-ai","type":"module","version":"0.0.1","packageManager":"pnpm@7.2.1","description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","author":{"name":"Simon He"},"license":"MIT","funding":"https://github.com/sponsors/Simon-He95","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"run":"cli.mjs"},"scripts":{"preinstall":"npx only-allow pnpm","postinstall":"simple-git-hooks","build":"tsup ./src/index.ts --format cjs,esm --dts --clean --minify","dev":"npm run build -- --watch src","format":"prettier --write --cache .","lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache","lint:fix":"pnpm run lint --fix","prepublishOnly":"nr build","release":"bumpp && npm publish","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"dependencies":{"lazy-js-utils":"^0.0.24"},"devDependencies":{"@antfu/eslint-config":"^0.25.1","@types/node":"^18.0.0","axios":"^1.4.0","bumpp":"^8.2.1","eslint":"^8.18.0","esno":"^0.16.3","lint-staged":"^13.1.0","picocolors":"^1.0.0","prettier":"^2.8.1","rimraf":"^3.0.2","simple-git-hooks":"^2.8.1","tsup":"^6.5.0","tsx":"^3.12.1","typescript":"^4.7.4","vitest":"^0.15.1"},"simple-git-hooks":{"pre-commit":"pnpm exec lint-staged --concurrent false","commit-msg":"pnpm exec tsx scripts/verifyCommit.ts $1"},"lint-staged":{"*":["prettier --write --cache --ignore-unknown"],"*.{vue,js,ts,jsx,tsx,md,json}":"eslint --fix"},"eslintConfig":{"extends":"@antfu"},"gitHead":"ba7069a9fb9d0a5a5e350bc59d41f7c4e1136189","_id":"anthropic-ai@0.0.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-zmrMH7mDslibPSsABUu0kbkT9cS2IgnV/wetzMqCO87l41/GaBYIAxxDHAfYVOutPdV/4XtVgAacXD00vZ/dPg==","shasum":"ecf9eb2514712902ac9e9c241bae32fbf93fc212","tarball":"https://registry.npmjs.org/anthropic-ai/-/anthropic-ai-0.0.1.tgz","fileCount":7,"unpackedSize":427838,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqbs2fzukYE5/9hWB+cgnpCKxJezCsdN2f/SjbUNyEwgIhALn0jvpy804jIp/ceNydBkLL9yLr0JH+/KYAhvSWUJY8"}]},"_npmUser":{"name":"simon_he","email":"13917107469@163.com"},"directories":{},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-ai_0.0.1_1683994100386_0.5788166270702864"},"_hasShrinkwrap":false},"0.0.2":{"name":"anthropic-ai","type":"module","version":"0.0.2","packageManager":"pnpm@7.2.1","description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","author":{"name":"Simon He"},"license":"MIT","funding":"https://github.com/sponsors/Simon-He95","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"run":"cli.mjs"},"scripts":{"build":"tsup ./src/index.ts --format cjs,esm --dts --clean --minify","dev":"npm run build -- --watch src","format":"prettier --write --cache .","lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache","lint:fix":"pnpm run lint --fix","prepublishOnly":"nr build","release":"bumpp && npm publish","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"dependencies":{"lazy-js-utils":"^0.0.24"},"devDependencies":{"@antfu/eslint-config":"^0.25.1","@types/node":"^18.0.0","axios":"^1.4.0","bumpp":"^8.2.1","eslint":"^8.18.0","esno":"^0.16.3","lint-staged":"^13.1.0","picocolors":"^1.0.0","prettier":"^2.8.1","rimraf":"^3.0.2","simple-git-hooks":"^2.8.1","tsup":"^6.5.0","tsx":"^3.12.1","typescript":"^4.7.4","vitest":"^0.15.1"},"eslintConfig":{"extends":"@antfu"},"gitHead":"214f20028446c8cb40ba246801b3d505e7a2996a","_id":"anthropic-ai@0.0.2","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-u/IbS1qR4EETOrrXnUWDtHJFnf7ijQJ7pXCnwYoKBPh0/AhQpj7+dCADmsLLskDMqyRVdlY/swS614+3nzkw5A==","shasum":"c75d24af83f3a8f1d37fc9af67e9dffe03a650d3","tarball":"https://registry.npmjs.org/anthropic-ai/-/anthropic-ai-0.0.2.tgz","fileCount":7,"unpackedSize":427462,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbpBq222lgmCBZvOJIv4mjDMgUoe2dIPUgLUZaTrjb4AiAJ44MBMXZ/Px+SPGbATlDB1n53QCeTKYQA3pckwyT+Bg=="}]},"_npmUser":{"name":"simon_he","email":"13917107469@163.com"},"directories":{},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-ai_0.0.2_1684028762317_0.2872827142453891"},"_hasShrinkwrap":false},"0.0.3":{"name":"anthropic-ai","type":"module","version":"0.0.3","packageManager":"pnpm@7.2.1","description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","author":{"name":"Simon He"},"license":"MIT","funding":"https://github.com/sponsors/Simon-He95","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"run":"cli.mjs"},"scripts":{"build":"tsup ./src/index.ts --format cjs,esm --dts --clean --minify","dev":"npm run build -- --watch src","format":"prettier --write --cache .","lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache","lint:fix":"pnpm run lint --fix","prepublishOnly":"nr build","release":"bumpp && npm publish","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"dependencies":{"lazy-js-utils":"^0.0.24"},"devDependencies":{"@antfu/eslint-config":"^0.25.1","@types/node":"^18.0.0","axios":"^1.4.0","bumpp":"^8.2.1","eslint":"^8.18.0","esno":"^0.16.3","lint-staged":"^13.1.0","picocolors":"^1.0.0","prettier":"^2.8.1","rimraf":"^3.0.2","simple-git-hooks":"^2.8.1","tsup":"^6.5.0","tsx":"^3.12.1","typescript":"^4.7.4","vitest":"^0.15.1"},"eslintConfig":{"extends":"@antfu"},"gitHead":"ff4dadfecca31a6af9b13f792a7ae0e90b32419a","_id":"anthropic-ai@0.0.3","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-i0QUo1kjicGwFKo6m8XxQITiOffh3edGMKbVpNs3fyAOwjZopZGyK0wD+7lci3iIJsFRlahH5bRDtcN3Pncf6Q==","shasum":"d94e9ebf80eb3bf9c715ad19e7ccf60600e3164d","tarball":"https://registry.npmjs.org/anthropic-ai/-/anthropic-ai-0.0.3.tgz","fileCount":7,"unpackedSize":428983,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClNUF2BX1ZdB5fE3j7zGJjVZ0XngE2OGoL8apWW6UIPwIgOVi7wtnje7Wjxa7NUJa6XrdevKO+oXSa6vZWVqjDfdg="}]},"_npmUser":{"name":"simon_he","email":"13917107469@163.com"},"directories":{},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-ai_0.0.3_1684031316834_0.45936951360492295"},"_hasShrinkwrap":false},"0.0.4":{"name":"anthropic-ai","type":"module","version":"0.0.4","packageManager":"pnpm@7.2.1","description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","author":{"name":"Simon He"},"license":"MIT","funding":"https://github.com/sponsors/Simon-He95","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"run":"cli.mjs"},"scripts":{"build":"tsup ./src/index.ts --format cjs,esm --dts --clean --minify","dev":"npm run build -- --watch src","format":"prettier --write --cache .","lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache","lint:fix":"pnpm run lint --fix","prepublishOnly":"nr build","release":"bumpp && npm publish","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"dependencies":{"lazy-js-utils":"^0.0.24"},"devDependencies":{"@antfu/eslint-config":"^0.25.1","@types/node":"^18.0.0","axios":"^1.4.0","bumpp":"^8.2.1","eslint":"^8.18.0","esno":"^0.16.3","lint-staged":"^13.1.0","picocolors":"^1.0.0","prettier":"^2.8.1","rimraf":"^3.0.2","simple-git-hooks":"^2.8.1","tsup":"^6.5.0","tsx":"^3.12.1","typescript":"^4.7.4","vitest":"^0.15.1"},"eslintConfig":{"extends":"@antfu"},"gitHead":"7fe47fcd3cbdb4e6e0ed05315d77aeda6c3fa980","_id":"anthropic-ai@0.0.4","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-HjyYxKehJaAEF2kxeT4kfLb+f4jgDj7sDkqsKg0AXcEbAd7wUbROo30xpQ7YYbKZA3j5PrpTp7KyA8/d0JmExw==","shasum":"44dccd6a30a9c8bb0410dede115a1259e59b6893","tarball":"https://registry.npmjs.org/anthropic-ai/-/anthropic-ai-0.0.4.tgz","fileCount":7,"unpackedSize":428909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZuw351osAp2/oSmQ4Safv9yFjVrgM7i8h8x+QDWTtBAiEA/T2n7gavgna6fx/x3TVy+mSnMJ/q3jmVXXgBBg8Vspo="}]},"_npmUser":{"name":"simon_he","email":"13917107469@163.com"},"directories":{},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-ai_0.0.4_1684069191932_0.35395670937600343"},"_hasShrinkwrap":false},"0.0.5":{"name":"anthropic-ai","version":"0.0.5","packageManager":"pnpm@7.2.1","description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","author":{"name":"Simon He"},"license":"MIT","funding":"https://github.com/sponsors/Simon-He95","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"tsup ./src/index.ts --format cjs,esm --dts --clean --minify","dev":"npm run build -- --watch src","format":"prettier --write --cache .","lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache","lint:fix":"pnpm run lint --fix","prepublishOnly":"nr build","release":"bumpp && npm publish","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"dependencies":{"lazy-js-utils":"^0.0.24"},"devDependencies":{"@antfu/eslint-config":"^0.25.1","@types/node":"^18.0.0","axios":"^1.4.0","bumpp":"^8.2.1","eslint":"^8.18.0","esno":"^0.16.3","lint-staged":"^13.1.0","picocolors":"^1.0.0","prettier":"^2.8.1","rimraf":"^3.0.2","simple-git-hooks":"^2.8.1","tsup":"^6.5.0","tsx":"^3.12.1","typescript":"^4.7.4","vitest":"^0.15.1"},"eslintConfig":{"extends":"@antfu"},"gitHead":"b6f64ffd03ea5b096b84514350ed2f67e65d0da5","_id":"anthropic-ai@0.0.5","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-0f1eU1lemEyPfh7xnl84/W4HGB2uffrFu9JU6CSypqCqPHRl8YpJjUSdsoAv2ZvJG73Zkdv8X2TVEydIPVmuFQ==","shasum":"1626848778f5b51f0f9d853619260b88f3d9cd9d","tarball":"https://registry.npmjs.org/anthropic-ai/-/anthropic-ai-0.0.5.tgz","fileCount":6,"unpackedSize":428790,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOZWTY7ytaNVYctLehCp1xTNHiqY4hQ+leUT2kR4hh2AiBze2F1Vp04FIg2+Ml8TqaYCwoeQ+dsF7YDi0mO+YLEuA=="}]},"_npmUser":{"name":"simon_he","email":"13917107469@163.com"},"directories":{},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-ai_0.0.5_1684069888441_0.2521694947516824"},"_hasShrinkwrap":false},"0.0.6":{"name":"anthropic-ai","version":"0.0.6","packageManager":"pnpm@7.2.1","description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","author":{"name":"Simon He"},"license":"MIT","funding":"https://github.com/sponsors/Simon-He95","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"tsup ./src/index.ts --format cjs,esm --dts --clean --minify","dev":"npm run build -- --watch src","format":"prettier --write --cache .","lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache","lint:fix":"pnpm run lint --fix","prepublishOnly":"nr build","release":"bumpp && npm publish","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"dependencies":{"lazy-js-utils":"^0.0.24"},"devDependencies":{"@antfu/eslint-config":"^0.25.1","@types/node":"^18.0.0","axios":"^1.4.0","bumpp":"^8.2.1","eslint":"^8.18.0","esno":"^0.16.3","lint-staged":"^13.1.0","picocolors":"^1.0.0","prettier":"^2.8.1","rimraf":"^3.0.2","simple-git-hooks":"^2.8.1","tsup":"^6.5.0","tsx":"^3.12.1","typescript":"^4.7.4","vitest":"^0.15.1"},"eslintConfig":{"extends":"@antfu"},"gitHead":"c4f2111ddda08960a7487601eb85958e012fe0e4","_id":"anthropic-ai@0.0.6","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-0/c2WOvGcLZJ24LicvC/f7xeD4cbcOVhVjYJbDJmQmlldXmMCfI/kgUjCUWg4Mz6YiwCXAMYx21tIEER+VZDcQ==","shasum":"eb257a98a16e705ce62bb0ac66f58c90c488f981","tarball":"https://registry.npmjs.org/anthropic-ai/-/anthropic-ai-0.0.6.tgz","fileCount":6,"unpackedSize":428802,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4HWl2HrmcvCrgCLx7dTwm4iM5nmg6sNr9sG4YLiH2HAIhAJgkTiM/CVYrKgVvCNEJehWFKsNaFolN42r4YPk1U/bg"}]},"_npmUser":{"name":"simon_he","email":"13917107469@163.com"},"directories":{},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-ai_0.0.6_1684071144495_0.7419617021618721"},"_hasShrinkwrap":false},"0.0.7":{"name":"anthropic-ai","version":"0.0.7","packageManager":"pnpm@7.2.1","description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","author":{"name":"Simon He"},"license":"MIT","funding":"https://github.com/sponsors/Simon-He95","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"tsup ./src/index.ts --format cjs,esm --dts --clean --minify","dev":"npm run build -- --watch src","format":"prettier --write --cache .","lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache","lint:fix":"pnpm run lint --fix","prepublishOnly":"nr build","release":"bumpp && npm publish","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.25.1","@types/node":"^18.0.0","axios":"^1.4.0","bumpp":"^8.2.1","eslint":"^8.18.0","esno":"^0.16.3","lint-staged":"^13.1.0","picocolors":"^1.0.0","prettier":"^2.8.1","rimraf":"^3.0.2","simple-git-hooks":"^2.8.1","tsup":"^6.5.0","tsx":"^3.12.1","typescript":"^4.7.4","vitest":"^0.15.1"},"eslintConfig":{"extends":"@antfu"},"gitHead":"3bccf60e1786cef4e23c0dac4e47bec45ced9a2b","_id":"anthropic-ai@0.0.7","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-R5wVP9FItSs2VyHfHBISHsZyZH5LUBuhyqag0i38sCKWKyJekDH9eueNj89OsgoqXhcq9ONI6apzOVP17HiqpQ==","shasum":"02d10f55f9fedeaec67300cc11f2188f3ac57481","tarball":"https://registry.npmjs.org/anthropic-ai/-/anthropic-ai-0.0.7.tgz","fileCount":6,"unpackedSize":428746,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD941XxfCocgDPPo9pUyHv0oBVwRLK/5KzRDcguNXBRLQIhAPWkojXCdRYAXkMByyfPQx57vzUOPQTJnNPPApsjyYeE"}]},"_npmUser":{"name":"simon_he","email":"13917107469@163.com"},"directories":{},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-ai_0.0.7_1684137036233_0.9748908071263471"},"_hasShrinkwrap":false},"0.0.8":{"name":"anthropic-ai","version":"0.0.8","packageManager":"pnpm@7.2.1","description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","author":{"name":"Simon He"},"license":"MIT","funding":"https://github.com/sponsors/Simon-He95","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"tsup ./src/index.ts --format cjs,esm --dts --clean --minify","dev":"npm run build -- --watch src","format":"prettier --write --cache .","lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache","lint:fix":"pnpm run lint --fix","prepublishOnly":"nr build","release":"bumpp && npm publish","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.25.1","@types/node":"^18.0.0","axios":"^1.4.0","bumpp":"^8.2.1","eslint":"^8.18.0","esno":"^0.16.3","lint-staged":"^13.1.0","picocolors":"^1.0.0","prettier":"^2.8.1","rimraf":"^3.0.2","simple-git-hooks":"^2.8.1","tsup":"^6.5.0","tsx":"^3.12.1","typescript":"^4.7.4","vitest":"^0.15.1"},"eslintConfig":{"extends":"@antfu"},"gitHead":"0888e2581c5c608a9b6533baba3e928e96aae7a4","_id":"anthropic-ai@0.0.8","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Mz+1I69LQZ4qW6NVxt97NLWmVgp10Cm+GL/K2ETQzwraZN8tFDPx1riF4ADuzavCUKB84a4BpRHofjptZKXWUg==","shasum":"36d81ff42571a711e00d7bad84a7fe4b1c52d961","tarball":"https://registry.npmjs.org/anthropic-ai/-/anthropic-ai-0.0.8.tgz","fileCount":6,"unpackedSize":428816,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDTPuve6EDa9KgNDGg1RyPZdvgELdybd2p2uU1y0KotwIhAP2ZN3D/ccRx/IpgpefIzp1m9zrfIALU3fkZaoMiGtNV"}]},"_npmUser":{"name":"simon_he","email":"13917107469@163.com"},"directories":{},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-ai_0.0.8_1685489514500_0.47389396496728686"},"_hasShrinkwrap":false},"0.0.9":{"name":"anthropic-ai","version":"0.0.9","packageManager":"pnpm@7.2.1","description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","author":{"name":"Simon He"},"license":"MIT","funding":"https://github.com/sponsors/Simon-He95","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"tsup ./src/index.ts --format cjs,esm --dts --clean --minify","dev":"npm run build -- --watch src","format":"prettier --write --cache .","lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache","lint:fix":"pnpm run lint --fix","prepublishOnly":"nr build","release":"bumpp && npm publish","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.25.1","@types/node":"^18.0.0","axios":"^1.4.0","bumpp":"^8.2.1","eslint":"^8.18.0","esno":"^0.16.3","lint-staged":"^13.1.0","picocolors":"^1.0.0","prettier":"^2.8.1","rimraf":"^3.0.2","simple-git-hooks":"^2.8.1","tsup":"^6.5.0","tsx":"^3.12.1","typescript":"^4.7.4","vitest":"^0.15.1"},"eslintConfig":{"extends":"@antfu"},"gitHead":"ea5c2ac55834d7950f12fadc6423950f5e5cc6bb","_id":"anthropic-ai@0.0.9","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-VUwpoSFfY2bwUx9CUp8ZthRRvrsKOFwqmjoAhJ1JfzMtzaKU63Qumc0XUBJrs9DEJQ1l+TsBxfqk70kdZQZMCQ==","shasum":"bd6632468b1dd67534a1fb6bf73e1494df6411eb","tarball":"https://registry.npmjs.org/anthropic-ai/-/anthropic-ai-0.0.9.tgz","fileCount":6,"unpackedSize":428831,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEtYVtYKF4zhcE9uYomc3z7NrpI5jmqkB209P5ChNjYZAiBZky4+/b+ya2XI65IQoESuq+4OAQUrFbZ3an/C04ceuA=="}]},"_npmUser":{"name":"simon_he","email":"13917107469@163.com"},"directories":{},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-ai_0.0.9_1687140904609_0.2803898360632373"},"_hasShrinkwrap":false},"0.0.10":{"name":"anthropic-ai","version":"0.0.10","packageManager":"pnpm@7.2.1","description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","author":{"name":"Simon He"},"license":"MIT","funding":"https://github.com/sponsors/Simon-He95","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"tsup ./src/index.ts --format cjs,esm --dts --clean --minify","dev":"npm run build -- --watch src","format":"prettier --write --cache .","lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache","lint:fix":"pnpm run lint --fix","prepublishOnly":"nr build","release":"bumpp && npm publish","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.25.1","@types/node":"^18.0.0","axios":"^1.4.0","bumpp":"^8.2.1","eslint":"^8.18.0","esno":"^0.16.3","lint-staged":"^13.1.0","picocolors":"^1.0.0","prettier":"^2.8.1","rimraf":"^3.0.2","simple-git-hooks":"^2.8.1","tsup":"^6.5.0","tsx":"^3.12.1","typescript":"^4.7.4","vitest":"^0.15.1"},"eslintConfig":{"extends":"@antfu"},"gitHead":"9e287f3a19b411a2a51f656b8373a7c575e4c17f","_id":"anthropic-ai@0.0.10","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Mjy9gvQRb+cvU9g/APr2OeZQqEoLrd4auN5ymmuGxRxoesj2DNJ+zP2Hw94DXjMTovpgY9H7tsYenoFYbxXSVg==","shasum":"8d9fb8d7efbd08fbec3e328a73b1151398a4afc6","tarball":"https://registry.npmjs.org/anthropic-ai/-/anthropic-ai-0.0.10.tgz","fileCount":6,"unpackedSize":428779,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEvO5NRuYe5qUqW3aGIkZusdTvFAxRMTX3wTkZuU+QNyAiEAjp/PdUbRFMs9Zlh/MdIpAa5PMi6/Scb13PvzMhhX2+8="}]},"_npmUser":{"name":"simon_he","email":"13917107469@163.com"},"directories":{},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-ai_0.0.10_1687141054195_0.3516282115818079"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-13T16:08:20.385Z","0.0.1":"2023-05-13T16:08:20.576Z","modified":"2023-06-19T02:17:34.481Z","0.0.2":"2023-05-14T01:46:02.568Z","0.0.3":"2023-05-14T02:28:37.050Z","0.0.4":"2023-05-14T12:59:52.095Z","0.0.5":"2023-05-14T13:11:28.615Z","0.0.6":"2023-05-14T13:32:24.676Z","0.0.7":"2023-05-15T07:50:36.555Z","0.0.8":"2023-05-30T23:31:54.758Z","0.0.9":"2023-06-19T02:15:04.786Z","0.0.10":"2023-06-19T02:17:34.372Z"},"maintainers":[{"name":"simon_he","email":"13917107469@163.com"}],"description":"感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能","homepage":"https://github.com/Simon-He95/anthropic-ai#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/Simon-He95/anthropic-ai.git"},"author":{"name":"Simon He"},"bugs":{"url":"https://github.com/Simon-He95/anthropic-ai/issues"},"license":"MIT","readme":"## anthropic-ai\n感谢[Anthropic](https://console.anthropic.com/docs/api)的免费api,提供的ai回答功能\n\n## Usage\n```js\nimport ClaudeApi from 'anthropic-ai'\nconst claude = new ClaudeApi('apikey')\nclaude.complete('给我写一个js的防抖函数', { model: 'claude-v1.3-100k' }, true).then((res) => {\n  console.log(res)\n})\n```\n\n## Params\n```typescript\n1. prompt: string // 问题\n2. interface Options {\n  model?: 'claude-v1' | 'claude-v1-100k' | 'claude-instant-v1' | 'claude-instant-v1-100k' | 'claude-v1.3' | 'claude-v1.3-100k' | 'claude-v1.2' | 'claude-v1.0' | 'claude-instant-v1.1' | 'claude-instant-v1.1-100k' | 'claude-instant-v1.0'\n  max_tokens_to_sample?: number\n  stream?: boolean\n  stop_sequences?: boolean\n  temperature?: number\n  top_k?: number\n  top_p?: number\n}\n3. conversation: boolean // 是否开启连续对话\n```\n\n## License\n[MIT](./LICENSE) License © 2022 [Simon He](https://github.com/Simon-He95)\n\n<a href=\"https://github.com/Simon-He95/sponsor\" target=\"_blank\"><img src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" style=\"height: 51px !important;width: 217px !important;\" ></a>\n\n\n<span><div align=\"center\">![sponsors](https://www.hejian.club/images/sponsors.jpg)</div></span>\n","readmeFilename":"README.md"}