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

str2bool

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

str2bool - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "str2bool",
"version": "0.0.2",
"version": "0.0.3",
"description": "Converts a string or number like boolean to true / false of type boolean.",

@@ -5,0 +5,0 @@ "main": "index.js",

# str2bool
Converts a string or number like boolean to true / false of type boolean.
Map data like boolean to true / false of type boolean
| 类型和值 | 修改为 |
| --- | --- |
| "true" (String) | true(boolean) |
| "false" (String) | false(boolean) |
| true (boolean) | true(boolean) |
| false (boolean) | false(boolean) |
| "1" (String) | true(boolean) |
| "0" (String) | false(boolean) |
| 1 (int) | true(boolean) |
| 0 (int) | false(boolean) |
# install

@@ -5,0 +16,0 @@ `npm install str2bool --save`

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