Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gpt-tokens

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gpt-tokens - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

index.js

19

package.json
{
"name": "gpt-tokens",
"version": "1.0.0",
"version": "1.0.1",
"description": "Calculate the token consumption and amount of openai gpt message",
"main": "index.ts",
"keywords": [
"gpt",
"chatGPT",
"openai",
"tiktoken",
"token",
"tokens",
"consumption",
"amount"
],
"main": "index.js",
"repository": "https://github.com/Cainier/gpt-tokens",
"author": "xingrong.dev@gmail.com",
"author": "Cainier <xingrong.dev@gmail.com>",
"license": "MIT",

@@ -12,3 +22,6 @@ "dependencies": {

"decimal.js": "^10.4.3"
},
"devDependencies": {
"typescript": "^5.0.4"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc