{"bugs":{"url":"https://github.com/samchon/tstl/issues"},"dist":{"shasum":"0f69881ac14551c8c6724ea3e0bd9bd5ed8e3a58","tarball":"https://registry.npmjs.org/tstl/-/tstl-2.1.0-dev.20181211.tgz","fileCount":465,"integrity":"sha512-MQjpUenFqXjZUGp4/swSYFXmaK5SnrRw8sRjX2fBzzLdpUoGjdssfOLwaD8tE6wkgVbi2hfp4Jek2xXNwgD1iw==","signatures":[{"sig":"MEYCIQC2ZB/Rmbt8y16Xh86X6iDbtdIK7D/8mKieGRAIJYxJNwIhAMV//pXAzf7lb/KGiomfcAXEfLYM1eON1FcZx3XOJhEz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":926785,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcD1sICRA9TVsSAnZWagAArnUP/RA58nO+4yGICl1REm11\nXutk7g15xTa/iC/gvtfnzM93NQ1gPm0nOYW5VNqZ1Ih8iVlPDUAm3bhoLXoE\nC75zi350nL5zQEspJrOMxBJ/kxtCmVDYbx0oTqmxS2q7tIlJ2HX1fafCgwdj\nDol0YFmlbJZbUuBnpUgGh0D+9Lm5hrwv2LmLJVXVzUi1cXpNNr9FkYwHwUTl\n/hPJDlTJ0BoXBOVrzhb3/qWmyrwIN+lsLCTv2EV0JPwpXLqeU7vD0Fp+K6KQ\n1CKF/yeS/i+HrBLjPuzZH2pDpfVvm2oNsS/6ZN7N1kBm8FeRl+5vPRtZgnKj\nHnUdUDXGaL75FaezmBnwfCUR1UG74dMTXo+VMiMLVyyh/0EnPdo2SaXFt1CK\nZ7L0Is9Is4BRHBCkP7DzqyBRY1SJPP3tVdDtuHZdyyb6gURGcaWSLHONyAyh\ngw9cQ6ObutDulMKWzFTQWNmrdfU38oyOFWxkRXC6oPjvd8+BHO7uE/Jv2OpH\nNpTMq8f1lxW1MTj9og/Kfbmfd6yzMNmiCrPcdXVcbU8VAKPAMgc3O7kxGh5t\nHuHSKTPURI2YGWfSQdL2/Vycv1jQ6hbyZGt6aDM4fmIpr3Jp2fzhiE5AZkQl\nfbgK9qy15OpXqdq3PUf220CpHkdSuaLT+rU4jGnRh8QPXJtIvtzUy8JGMyUt\ndDEq\r\n=/qoH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","name":"tstl","author":{"url":"http://samchon.org","name":"Jeongho Nam","email":"samchon@samchon.org"},"readme":"# **T**ypeScript **S**tandard **T**emplate **L**ibrary\n[![Build Status](https://travis-ci.org/samchon/tstl.svg?branch=master)](https://travis-ci.org/samchon/tstl)\n[![npm version](https://badge.fury.io/js/tstl.svg)](https://www.npmjs.com/package/tstl)\n[![Downloads](https://img.shields.io/npm/dm/tstl.svg)](https://www.npmjs.com/package/tstl)\n[![DeepScan grade](https://deepscan.io/api/projects/1798/branches/7800/badge/grade.svg)](https://deepscan.io/dashboard#view=project&pid=1798&bid=7800)\n[![Chat on Gitter](https://badges.gitter.im/samchon/tstl.svg)](https://gitter.im/samchon/tstl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\nImplementation of STL (Standard Template Library) in TypeScript.\n  - Containers\n  - Iterators\n  - Algorithms\n  - Functors\n\n**TSTL** is an open-source project providing features of STL, migrated from *C++* to *TypeScript*. You can enjoy the STL's own specific *containers*, *algorithms* and *functors* in the JavaScript. If TypeScript, you also can take advantage of type restrictions and generic programming with the TypeScript.\n\nBelow components are list of provided objects in the **TSTL**. If you want to know more about the **TSTL**, then please read the [**Guide Documents**](https://github.com/samchon/tstl/wiki).\n\n\n\n\n## Features\n### Containers\n  - **Linear Containers**\n    - [Vector `vector`](http://samchon.github.io/tstl/api/classes/std.vector.html)\n    - [Deque `deque`](http://samchon.github.io/tstl/api/classes/std.deque.html)\n    - [List `list`](http://samchon.github.io/tstl/api/classes/std.list.html)\n    - [ForwardList `forward_list`](http://samchon.github.io/tstl/api/classes/std.forwardlist.html)\n    - [VectorBoolean `vector_bool`](http://samchon.github.io/tstl/api/classes/std.vectorboolean.html)\n  - **Associative Containers**\n    - *Tree-structured Containers*\n      - [TreeSet `set`](http://samchon.github.io/tstl/api/classes/std.treeset.html)\n      - [TreeMultiSet `multiset`](http://samchon.github.io/tstl/api/classes/std.treemultiset.html)\n      - [TreeMap `map`](http://samchon.github.io/tstl/api/classes/std.treemap.html)\n      - [TreeMultiMap `multimap`](http://samchon.github.io/tstl/api/classes/std.treemultimap.html)\n    - *Hash-buckets based Container*\n      - [HashSet `unordered_set`](http://samchon.github.io/tstl/api/classes/std.hashset.html)\n      - [HashMultiSet `unordered_multiset`](http://samchon.github.io/tstl/api/classes/std.hashmultiset.html)\n      - [HashMap `unordered_map`](http://samchon.github.io/tstl/api/classes/std.hashmap.html)\n      - [HashMultiMap `unordered_multimap`](http://samchon.github.io/tstl/api/classes/std.hashmultimap.html)\n  - **Adaptor Containers**\n    - [Queue `queue`](http://samchon.github.io/tstl/api/classes/std.queue.html)\n    - [Stack `stack`](http://samchon.github.io/tstl/api/classes/std.stack.html)\n    - [PriorityQueue `priority_queue`](http://samchon.github.io/tstl/api/classes/std.priorityqueue.html)\n\n### Algorithms\n- [`<algorithm>`](http://www.cplusplus.com/reference/algorithm/)\n    - [iterations](https://github.com/samchon/tstl/blob/master/src/algorithm/iterations.ts)\n    - [modifiers](https://github.com/samchon/tstl/blob/master/src/algorithm/modifiers.ts)\n    - [partitions](https://github.com/samchon/tstl/blob/master/src/algorithm/partitions.ts)\n    - [sortings](https://github.com/samchon/tstl/blob/master/src/algorithm/sortings.ts)\n    - [binary searches](https://github.com/samchon/tstl/blob/master/src/algorithm/binary_searches.ts)\n    - [union sets](https://github.com/samchon/tstl/blob/master/src/algorithm/union_sets.ts)\n    - [heaps](https://github.com/samchon/tstl/blob/master/src/algorithm/heaps.ts)\n    - [mathmatics](https://github.com/samchon/tstl/blob/master/src/algorithm/mathmatics.ts)\n\n### Functors\n  - [`<exception>`](http://www.cplusplus.com/reference/exception/)\n    - [Exception `exception`](http://samchon.github.io/tstl/api/classes/std.exception.html)\n      - [LogicError `logic_error`](http://samchon.github.io/tstl/api/classes/std.logicerror.html)\n      - [RuntimeError `runtime_error`](http://samchon.github.io/tstl/api/classes/std.runtimeerror.html)\n  - [`<functional>`](http://www.cplusplus.com/reference/functional/)\n    - [IComparable](http://samchon.github.io/tstl/api/interfaces/std.icomparable.html)\n  - [`<utility>`](http://www.cplusplus.com/reference/utility/)\n    - [Pair `pair`](http://samchon.github.io/tstl/api/classes/std.pair.html)\n    - [Entry `entry`](http://samchon.github.io/tstl/api/classes/std.entry.html)\n  - [`<numeric>`](http://en.cppreference.com/w/cpp/numeric)\n    - [IComputable](https://github.com/samchon/tstl/blob/master/src/numeric/IComputable.ts)\n    - [operations](https://github.com/samchon/tstl/blob/master/src/numeric/operations.ts)\n    - [special math](http://en.cppreference.com/w/cpp/numeric/special_math)\n  - [`<thread>`](https://github.com/samchon/tstl/blob/master/src/thread.ts)\n    - [ConditionVariable `condition_variable`](http://samchon.github.io/tstl/api/classes/std.conditionvariable.html)\n    - [Mutex `mutex`](http://samchon.github.io/tstl/api/classes/std.mutex.html) & [TimedMutex `timed_mutex`](http://samchon.github.io/tstl/api/classes/std.timedmutex.html)\n    - [SharedMutex `shared_mutex`](http://samchon.github.io/tstl/api/classes/std.sharedmutex.html) & [SharedTimeMutex `shared_timed_mutex`](http://samchon.github.io/tstl/api/classes/std.sharedtimedmutex.html)\n    - (experimental) [Semaphore `semaphore`](http://samchon.github.io/tstl/api/classes/std_experimental.semaphore.html) & [TimedSemaphore `timed_semaphore`](http://samchon.github.io/tstl/api/classes/std_experimental.timedsemaphore.html)\n    - (experimental) [Latch `latch`](http://samchon.github.io/tstl/api/classes/std_experimental.latch.html) & [Barrier `barrier`](http://samchon.github.io/tstl/api/classes/std_experimental.barrier.html)\n\n\n\n\n## Installation\n### NPM Module\nInstalling **TSTL** in *NodeJS* is very easy. Just install with the `npm`\n\n```bash\n# Install TSTL from the NPM module\nnpm install --save tstl\n```\n\n### Usage\n``` typescript\nimport std = require(\"tstl\");\n\nfunction main(): void\n{\n    let map: std.TreeMap<number, string> = new std.TreeMap();\n\n    // INSERT ITEMS\n    map.insert(std.make_pair(1, \"First\")); // Via tuple\n    map.emplace(4, \"Fourth\"); // C++11 Feature\n    map.insert_or_assign(5, \"Fifth\"); // C++17 Feature\n    map.set(9, \"Nineth\"); // Instead of the operetor[](Key)\n\n    // ITERATION\n    for (let it = map.begin(); !it.equals(map.end()); it = it.next())\n        console.log(it.first, it.second); // (key => number, value => string)\n\n    // LOWER_BOUND\n    let x = map.lower_bound(3);\n    console.log(`lower bound of 3 is: ${x.first}, ${x.second}`);\n}\nmain();\n```\n\n\n\n\n## Appendix\n  - **Repositories**\n    - [GitHub Repository](https://github.com/samchon/tstl)\n    - [NPM Repository](https://www.npmjs.com/package/tstl)\n  - **Documents**\n    - [**Guide Documents**](https://github.com/samchon/tstl/wiki)\n    - [API Documents](http://samchon.github.io/tstl/api)\n    - [Release Notes](https://github.com/samchon/tstl/releases)\n  - **Extensions**\n    - [ECol](https://github.com/samchon/ecol) - Collections dispatching events\n    - [**TGrid**](https://github.com/samchon/tgrid) - Network & Thread extension\n","gitHead":"bb8d3aeb59e5a18f8b216641f27f72ebf54042bb","license":"MIT","scripts":{"api":"node build/api","test":"node test/main","build":"tsc && npm run test","clean":"node build/clean"},"typings":"./index.d.ts","_npmUser":{"name":"samchon","email":"samchon@samchon.org"},"homepage":"https://github.com/samchon/tstl","keywords":["tstl","typescript stl","typescript standard template library","container","iterator","algorithm","functor","exception","functional","utility","thread","numeric","special_math","vector","deque","list","forward_list","stack","queue","priority_queue","set","multiset","unordered_set","unordered_multiset","map","multimap","unordered_map","unordered_multimap","TreeSet","TreeMultiSet","HashSet","HashMultiSet","TreeMap","TreeMultiMap","HashMap","HashMultiMap","mutex","shared_mutex","timed_mutex","shared_timed_mutex","unique_lock","shared_lock","semaphore","timed_semaphore","latch","barrier","flex_barrier"],"repository":{"url":"git+https://github.com/samchon/tstl.git","type":"git"},"_npmVersion":"5.6.0","description":"TypeScript-STL (Standard Template Library, migrated from C++)","directories":{},"maintainers":[{"name":"samchon","email":"samchon@samchon.org"}],"_nodeVersion":"8.11.4","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mv":"^2.1.1","@types/mv":"^2.1.0","@types/node":"^7.10.1"},"_npmOperationalInternal":{"tmp":"tmp/tstl_2.1.0-dev.20181211_1544510215214_0.05805818277111929","host":"s3://npm-registry-packages"},"_id":"tstl@2.1.0-dev.20181211","version":"2.1.0-dev.20181211"}