{"_id":"@aureooms/js-merging","_rev":"2-4680cbda594d75c131d6c0522e767a37","name":"@aureooms/js-merging","description":"merging code bricks for JavaScript","dist-tags":{"latest":"7.1.0"},"versions":{"7.1.0":{"author":{"name":"aureooms"},"scripts":{"doc":"groc","build":"aureooms-node-package-build","test":"aureooms-node-package-test"},"devDependencies":{"@aureooms/js-array":"^3.1.0","@aureooms/js-compare":"^1.4.4","@aureooms/js-functools":"^2.0.3","@aureooms/js-itertools":"^3.0.0","@aureooms/js-random":"^2.0.0","@aureooms/js-search":"^0.0.4","@aureooms/js-sll":"^1.0.1","@aureooms/js-sort":"^7.0.0","aureooms-node-package":"^6.0.1"},"main":"js/dist/merging.js","bugs":{"url":"https://github.com/aureooms/js-merging/issues"},"license":"AGPL-3.0","homepage":"http://aureooms.github.io/js-merging/","description":"merging code bricks for JavaScript","dependencies":{},"keywords":["bricks","ender","hwang","hwang-lin","javascript","js","lin","merge","merging","tape","tapemerge"],"name":"@aureooms/js-merging","repository":{"url":"git+https://github.com/aureooms/js-merging.git","type":"git"},"version":"7.1.0","spm":{"main":"js/dist/merging.js"},"gitHead":"d63c1b7dd0560ec5361a4720d5662119c86d0226","_id":"@aureooms/js-merging@7.1.0","_shasum":"4c0398ff60c566af6389d98b763bc337ab3e7bda","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.5.0","_npmUser":{"name":"aureooms","email":"aurelien.ooms@gmail.com"},"dist":{"shasum":"4c0398ff60c566af6389d98b763bc337ab3e7bda","tarball":"https://registry.npmjs.org/@aureooms/js-merging/-/js-merging-7.1.0.tgz","integrity":"sha512-5Iwf2Hoy2FzW0hyhW7Q3Zpl9Ky8CL66finhHq3HS2BqKZUCApDRygYhSNWN8qaVFG2fJso6L6yxvUnTEjO0RZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvZH4kGTaztOKFR9yJ6Mi3FdvXgJsTjuKxJwZf6Zb7YgIhAMZQGCsf/MwrfE4C/7WYhC7GbSVWtbqc5GKFyyJuIXYZ"}]},"maintainers":[{"name":"aureooms","email":"aurelien.ooms@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/js-merging-7.1.0.tgz_1487246842598_0.557247037999332"}}},"readme":"[js-merging](http://aureooms.github.io/js-merging)\n==\n\nMerging code bricks for JavaScript. Parent is\n[aureooms/js-sort](https://github.com/aureooms/js-sort).\n\n```js\nmerging.iterables( compare.increasing , count( 0 , 2 ) , count( 1 , 3 ) ) ;\n// 0 1 2 4 4 6 7 8 10 10 ...\n```\n\n[![NPM license](http://img.shields.io/npm/l/@aureooms/js-merging.svg?style=flat)](https://raw.githubusercontent.com/aureooms/js-merging/master/LICENSE)\n[![NPM version](http://img.shields.io/npm/v/@aureooms/js-merging.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-merging)\n[![Bower version](http://img.shields.io/bower/v/@aureooms/js-merging.svg?style=flat)](http://bower.io/search/?q=@aureooms/js-merging)\n[![Build Status](http://img.shields.io/travis/aureooms/js-merging.svg?style=flat)](https://travis-ci.org/aureooms/js-merging)\n[![Coverage Status](http://img.shields.io/coveralls/aureooms/js-merging.svg?style=flat)](https://coveralls.io/r/aureooms/js-merging)\n[![Dependencies Status](http://img.shields.io/david/aureooms/js-merging.svg?style=flat)](https://david-dm.org/aureooms/js-merging#info=dependencies)\n[![devDependencies Status](http://img.shields.io/david/dev/aureooms/js-merging.svg?style=flat)](https://david-dm.org/aureooms/js-merging#info=devDependencies)\n[![Code Climate](http://img.shields.io/codeclimate/github/aureooms/js-merging.svg?style=flat)](https://codeclimate.com/github/aureooms/js-merging)\n[![NPM downloads per month](http://img.shields.io/npm/dm/@aureooms/js-merging.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-merging)\n[![GitHub issues](http://img.shields.io/github/issues/aureooms/js-merging.svg?style=flat)](https://github.com/aureooms/js-merging/issues)\n[![Inline docs](http://inch-ci.org/github/aureooms/js-merging.svg?branch=master&style=shields)](http://inch-ci.org/github/aureooms/js-merging)\n\n\nCan be managed through [jspm](https://github.com/jspm/jspm-cli),\n[duo](https://github.com/duojs/duo),\n[component](https://github.com/componentjs/component),\n[bower](https://github.com/bower/bower),\n[ender](https://github.com/ender-js/Ender),\n[jam](https://github.com/caolan/jam),\n[spm](https://github.com/spmjs/spm),\nand [npm](https://github.com/npm/npm).\n\n## Install\n\n### jspm\n```terminal\njspm install github:aureooms/js-merging\n# or\njspm install npm:@aureooms/js-merging\n```\n### duo\nNo install step needed for duo!\n\n### component\n```terminal\ncomponent install aureooms/js-merging\n```\n\n### bower\n```terminal\nbower install @aureooms/js-merging\n```\n\n### ender\n```terminal\nender add @aureooms/js-merging\n```\n\n### jam\n```terminal\njam install @aureooms/js-merging\n```\n\n### spm\n```terminal\nspm install @aureooms/js-merging --save\n```\n\n### npm\n```terminal\nnpm install @aureooms/js-merging --save\n```\n\n## Require\n### jspm\n```js\nlet merging = require( \"github:aureooms/js-merging\" ) ;\n// or\nimport merging from '@aureooms/js-merging' ;\n```\n### duo\n```js\nlet merging = require( \"aureooms/js-merging\" ) ;\n```\n\n### component, ender, spm, npm\n```js\nlet merging = require( \"@aureooms/js-merging\" ) ;\n```\n\n### bower\nThe script tag exposes the global variable `merging`.\n```html\n<script src=\"bower_components/@aureooms/js-merging/js/dist/merging.min.js\"></script>\n```\nAlternatively, you can use any tool mentioned [here](http://bower.io/docs/tools/).\n\n### jam\n```js\nrequire( [ \"@aureooms/js-merging\" ] , function ( merging ) { ... } ) ;\n```\n\n## Use\n\n```js\n/** array sequential merge */\nlet merge = merging.tapemerge ;\n\n/** iterables sequential merg */\nlet merge = merging.iterables ;\n\n/** generic template for a merging algorithm */\nmerging.merge ;\n// for example\nlet array = require( \"@aureooms/js-array\" ) ;\nlet search = require( \"@aureooms/js-search\" ) ;\nlet merge = merging._merge( search.binarysearch , array.copy ) ;\n\n/** Hwang-Lin algorithm (static version)*/\nlet merge = merging._hlstatic( search.binarysearch , array.copy ) ;\n```\n","maintainers":[{"name":"aureooms","email":"aurelien.ooms@gmail.com"}],"time":{"modified":"2022-06-12T14:52:08.731Z","created":"2017-02-16T12:07:23.160Z","7.1.0":"2017-02-16T12:07:23.160Z"},"homepage":"http://aureooms.github.io/js-merging/","keywords":["bricks","ender","hwang","hwang-lin","javascript","js","lin","merge","merging","tape","tapemerge"],"repository":{"url":"git+https://github.com/aureooms/js-merging.git","type":"git"},"author":{"name":"aureooms"},"bugs":{"url":"https://github.com/aureooms/js-merging/issues"},"license":"AGPL-3.0","readmeFilename":"README.md"}