New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@keeex/bubble_babble

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keeex/bubble_babble - npm Package Compare versions

Comparing version 2.0.0 to 2.1.4

lib/bubble_babble.d.ts

51

package.json

@@ -1,50 +0,1 @@

{
"name": "@keeex/bubble_babble",
"version": "2.0.0",
"description": "Bubble Babble encoding",
"main": "bubble_babble.js",
"scripts": {
"test": "nyc mocha"
},
"repository": {
"type": "git",
"url": "git://github.com:KeeeX/bubble_babble.git"
},
"keywords": [
"bubble",
"babble",
"encode",
"encrypt"
],
"author": "Tylor Reynolds",
"license": "MIT",
"contributors": [
{
"name": "Gabriel Paul \"Cley Faye\" Risterucci",
"email": "gabriel@keeex.net"
}
],
"type": "module",
"nyc": {
"extension": [
".js"
],
"include": [
"bubble_babble.js"
],
"exclude": [
"test/**/*"
],
"all": true
},
"bugs": {
"url": "https://github.com/KeeeX/bubble_babble/issues"
},
"homepage": "https://github.com/KeeeX/bubble_babble",
"devDependencies": {
"eslint": "^7.27.0",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"should": "^13.2.3"
}
}
{"name":"@keeex/bubble_babble","version":"2.1.4","description":"Bubble Babble encoding","files":["lib","web"],"main":"lib/bubble_babble.js","browser":"web/bubble_babble.js","scripts":{},"keywords":["bubble","babble","encode","encrypt"],"author":"Tylor Reynolds","license":"MIT","contributors":[{"name":"Gabriel Paul \"Cley Faye\" Risterucci","email":"gabriel@keeex.net"}],"type":"module","homepage":"https://keeex.me/oss"}

@@ -1,24 +0,24 @@

bubble_babble
=============
`@keeex/bubble_babble`
======================
Bubble Babble encoding for nodejs.
Initially forked from tylorr/bubble\_babble to avoid the dependency on `Buffer`.
Bubble Babble encoding.
**Install**
-------
Initially forked from tylorr/bubble\_babble to avoid the dependency on `Buffer`, thus making this
library work in more JavaScript environments.
The built package is not published on any repository; either install the
original package, or install from github:
Installation
------------
Installation is done from npmjs:
```bash
npm install https://github.com/KeeeX/bubble_babble.git
npm install @keeex/bubble_babble
```
**Usage**
Usage
-----
```JavaScript
import {encode, decode} from "@keeex/bubble_babble";
import {encode, decode} from "@keeex/bubble_babble/lib/bubble_babble.js";

@@ -28,8 +28,13 @@ const encoded = encode("Pineapple");

const ascii = decode("xesef-disof-gytuf-katof-movif-baxux");
const ab = decode("xesef-disof-gytuf-katof-movif-baxux");
const ascii = new TextDecoder().decode(ab);
console.log(ascii); // "1234567890"
```
Typescript
----------
This module includes type definition for usage with TypeScript
`encode()` accepts input as UTF8 string, `ArrayBuffer` or `Uint8Array`.
`decode()` returns an `ArrayBuffer`.
There is a secondary export `@keeex/bubblebabble/web/bubble_babble.js` that can be used in
browser environment.
It should be possible to directly import `@keeex/bubble_babble` but this depend on your
environment/bundler.

Sorry, the diff of this file is not supported yet

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