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

raw-guid-converter

Package Overview
Dependencies
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raw-guid-converter

guid converter from raw database type to formated guid

  • 1.0.204
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10K
increased by7.37%
Maintainers
1
Weekly downloads
 
Created
Source

logomakr_5c2oee

Build Status Coverage Status npm GitHub license Maintenance Donate

Use Case

command line and library to convert guids from oracle raw format to formated guid and viceversa

Installation

if you want ot use in a package yarn add raw-guid-converter or npm i raw-guid-converter

if you want to use it as a command install globally with npm i raw-guid-converter -g

Usage

Raw to Guid String

Code
const convert = require('raw-guid-converter').convertRaw
let guid = convert('4630880E6D0B3640AB446C6FB3C44FE3')
//guid => 0e883046-0b6d-4036-ab44-6c6fb3c44fe3
Command line
convert-guid fromRaw 4630880E6D0B3640AB446C6FB3C44FE3
#0e883046-0b6d-4036-ab44-6c6fb3c44fe3

you can pass multiple guids to convert all of them in one go

Guid string to Raw

Code
const convert = require('raw-guid-converter').convertString
let guid = convert('0e883046-0b6d-4036-ab44-6c6fb3c44fe3')
//guid => '4630880E6D0B3640AB446C6FB3C44FE3'
Command line
convert-guid fromString 0e883046-0b6d-4036-ab44-6c6fb3c44fe3
#'4630880E6D0B3640AB446C6FB3C44FE3'

you can pass multiple guids to convert all of them in one go


Check out the new logo that I created on LogoMakr.com https://logomakr.com/5c2oEE

Keywords

FAQs

Package last updated on 01 Feb 2024

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