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

@heyveryouaire/string_and_more

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heyveryouaire/string_and_more

Char manipulate && gender check

  • 1.0.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

Module using TS

lower()

const { lower } = require("heyveryouaire/string_and_more") 
lower("string")

upper()

const { upper } = require("heyveryouaire/string_and_more") 
upper("string")

getPersonGender()

const { getPersonGender } = require("heyveryouaire/string_and_more") 
getPersonGender({
    name: "name",
    sex: "male"
})

How TS module works

tscongif.json

{
  "compilerOptions": {
     /* Language and Environment */
    "target": "es2016",

    /* Modules */
    "module": "commonjs", 
    // ..

    /* Emit */
    "declaration": true, // Generate declaration 
    // ..
    "outDir": "lib",
    // ..
    "esModuleInterop": true,
    // ..
    "forceConsistentCasingInFileNames": true,

    /* Type Checking */
    "strict": true,
    // ..
    /* Completeness */
    // ..
    "skipLibCheck": true,
    "exclude": ["node_modules"]
  }
}

package.json

{
  "main": "lib/index.js",
  "types": "lib/index.d.js",
  "scripts": {
    "build": "tsc"
  },
}

Publish npm module

npm login
...
npm publish --access public
...
npm version 1.1.0 // update version between each publish
...

FAQs

Package last updated on 06 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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