atob-umd v1.1.2
atob-umd
About
This project is deprecated and is no longer maintained
atob-umd is a Javascript UMD module for atob().
Installation for production
with Node.js
atob-umd is available on NPM
You can install it with the following command:
npm install atob-umdBrowser globals and AMD
atob-umd is available on Bower
To install it from Bower, just run
bower install atob-umdUsage
Usage is pretty straightforward; in the following example, a function atob is created to mimic the native function with the same name:
var atob = function (a) {
var umd = new Atob();
return umd.handle(a).b;
};
var res = atob('SGVsbG8gV29ybGQ=');Then, res will return Hello World.
Installation for development
You also can download the whole project (and build it from its source; see below).
Either use git clone command to get it:
git clone https://github.com/t1st3-deprecate/atob-umd.gitOr download the latest version of the whole project.
Then, get the dependencies of the project from both Bower and NPM:
npm install
bower installBuild from source
First, see "Installation for development" above. Do not forget to get the dependencies!
Then, you also need to install Gulp globally to build the project.
npm install -g gulpSee more at the "Getting started with Gulp" page.
Once you got the dependencies and installed Gulp globally, to get info about the package from the command line, just run:
gulp infoYou are now ready to build!
The source is located in the "src" folder; the built target is located in the "dist" folder.
To build, just run:
gulp buildTests
To test, you can use either the npm test command or the gulp test command:
npm testor
gulp testServe and livereload
You can also use the serve task to load the html pages from ./test/ in your browser.
gulp serveOnce it has loaded the page in the browser, this task watches for any modification in the source. If changes happen in the source, the task automatically reloads the page in the browser (livereload).
License
This piece of code is triple-licensed: MIT / BSD / GPL licenses
Initial author
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago