Skip to content

Commit

Permalink
Version 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Sierociński committed Aug 10, 2018
1 parent 73f2e73 commit 9ef061e
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 18 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
<p align="center">
<img src="https://raw.githubusercontent.com/bitbar/finka-js/master/logo.png"
alt="Finka.js"
title="Finka.js" />
</p>

# Finka.js

Finks.js
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.md)

Handy tool in nowadays JavaScript jungle.

It's extending default JS classes like `Array` or `String` with new handy methods,
that probably sooner or later you are going to search for on Stack Overflow ;)


## Getting Started

Expand All @@ -25,9 +37,9 @@ npm install finka-js

Download version that fits your better:

[Compressed version - 1.44KB](https://raw.githubusercontent.com/bitbar/finka-js/master/dist/kasza.min.js)
[Compressed version - 15KB](https://raw.githubusercontent.com/bitbar/finka-js/master/dist/finka.min.js)

[Uncompressed version - 2.41KB](https://raw.githubusercontent.com/bitbar/finka-js/master/dist/kasza.js)
[Uncompressed version - 31KB](https://raw.githubusercontent.com/bitbar/finka-js/master/dist/finka.js)

And simply add HTML tag:

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "finka-js",
"description": "Finka.js",
"description": "Handy tool in nowadays JavaScript jungle",
"main": "dist/finka.min.js",
"authors": [
"Marek Sierociński (https://github.com/marverix)",
Expand Down
10 changes: 2 additions & 8 deletions dist/finka.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Finka.js v0.1.0 | (c) Bitbar Technologies and contributors | https://github.com/bitbar/finka-js/blob/master/LICENSE.md */
/* Finka.js v0.1.1 | (c) Bitbar Technologies and contributors | https://github.com/bitbar/finka-js/blob/master/LICENSE.md */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand All @@ -7,12 +7,7 @@

var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

function createCommonjsModule(fn, module) {
return module = { exports: {} }, fn(module, module.exports), module.exports;
}

var global_1 = createCommonjsModule(function (module) {
commonjsGlobal.isNodeJs = module != null && module.exports != null;
commonjsGlobal.isNodeJs = typeof commonjsGlobal.module != 'undefined' && typeof commonjsGlobal.module.exports != 'undefined';

commonjsGlobal.isJSONString = function(str) {
try {
Expand Down Expand Up @@ -62,7 +57,6 @@
commonjsGlobal.xor = function(a, b) {
return !a != !b;
};
});

Object.copy = function(src, dst, what) {
if(what == null || what.length == 0) {
Expand Down
6 changes: 3 additions & 3 deletions dist/finka.min.js

Large diffs are not rendered by default.

Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
121 changes: 121 additions & 0 deletions logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "finka-js",
"version": "0.1.0",
"description": "Finka.js",
"version": "0.1.1",
"description": "Handy tool in nowadays JavaScript jungle",
"main": "dist/finka.min.js",
"scripts": {
"build": "npx rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion src/global.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
global.isNodeJs = module != null && module.exports != null;
global.isNodeJs = typeof global.module != 'undefined' && typeof global.module.exports != 'undefined';

global.isJSONString = function(str) {
try {
Expand Down

0 comments on commit 9ef061e

Please sign in to comment.