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

lesca-atobtoa

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lesca-atobtoa

encode / decode data to base64

  • 1.1.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

React React React React React NPM React NPM

Why use it?

It's increase charCode in special number. It's not easy to decode.

Live Demo

Installation

npm install lesca-atobtoa --save

Usage

As a Node module:

import Atobtoa from 'lesca-atobtoa';

const Data = { name: 'james', age: '18' };
const base64 = Atobtoa.toBase64(Data);
console.log(base64); //JTI1NUIlMjU3QiUyNTIybmFtZSUyNTIyJTI1M0ElMjUyMmphbWVzJTI1MjIlMjUyQyUyNTIyYWdlJTI1MjIlMjUzQTE4JTI1N0QlMjU1RA==
console.log(Atobtoa.toJson(base64)); //[{ name: 'james', age: 18 }]

Development

Methods

methoddescriptiondefaultreturn
.toBase64(JSON:object, push:int)json to base64push = 1base64
.toJson(base64:string, push:int)base64 to jsonpush = 1json

Features

  • maintain if necessary

Keywords

FAQs

Package last updated on 24 Oct 2023

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