You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

jquery-base64

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-base64

jquery, base64

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
4.4K
8.67%
Maintainers
1
Weekly downloads
 
Created
Source

THIS PROJECT IS NO LONGER MAINTAINED. IT MOSTLY WORKS, BUT IF YOU RUN INTO ISSUES, CHECK OUT THE FORKS, PLEASE. OR FIX IT YOURSELF. CHEERS!

jquery-base64

Rather simple jQuery'fication of Nick Galbreath's base64 string encoder.

I didn't like having a global base64 variable around, that's all.

Usage

  • $.base64.encode( "this is a test" ) returns "dGhpcyBpcyBhIHRlc3Q="
  • $.base64.decode( "dGhpcyBpcyBhIHRlc3Q=" ) returns "this is a test"

Known issues

JSLint is complaining about the "unexpected use of '<<'/'|'". No idea, suggestions welcome.

Developers

Original code by Nick Galbreath. Port by Carlo Zottmann.

License

MIT license, just like the original.

FAQs

Package last updated on 17 Jun 2017

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