Comparing version 1.3.0 to 1.3.1
@@ -13,3 +13,3 @@ { | ||
"typings": "./lib/tstl.d.ts", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
@@ -16,0 +16,0 @@ "homepage": "https://github.com/samchon/tstl", |
114
README.md
@@ -1,34 +0,34 @@ | ||
# TypeScript-STL | ||
# <u>T</u>ypeScript-<u>STL</u> | ||
[![NPM](https://nodei.co/npm/typescript-stl.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/typescript-stl) | ||
[![NPM](https://nodei.co/npm/tstl.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/tstl) | ||
GitHub Repository: https://github.com/samchon/typescript-stl | ||
GitHub Repository: https://github.com/samchon/tstl | ||
## Introduction | ||
STL (Standard Template Library) Containers and Algorithms for TypeScript | ||
**STL** (Standard Template Library) Containers and Algorithms for **TypeScript**. | ||
TypeScript-STL is an open-source JavaScript library providing containers and algorithms migrated from C++ STL. You can enjoy STL containers and algorithms in JavaScript. If TypeScript, you will be much happier feeling like using originla STL with type restriction and template programming. | ||
**T**ypeScript-**STL** is an open-source JavaScript library providing containers and algorithms migrated from C++ STL. You can enjoy STL containers and algorithms in JavaScript. If TypeScript, you will be much happier feeling like using originla STL with type restriction and template programming. | ||
![Abstract Containers](http://samchon.github.io/typescript-stl/images/design/class_diagram/abstract_containers.png) | ||
![Abstract Containers](http://samchon.github.io/tstl/images/design/class_diagram/abstract_containers.png) | ||
##### Containers | ||
- [**Linear containers**](http://samchon.github.io/typescript-stl/api/interfaces/std.base.container.ilinearcontainer.html) | ||
- [Vector](http://samchon.github.io/typescript-stl/api/classes/std.vector.html) | ||
- [List](http://samchon.github.io/typescript-stl/api/classes/std.list.html) | ||
- [Deque](http://samchon.github.io/typescript-stl/api/classes/std.deque.html) | ||
- [**Linear containers**](http://samchon.github.io/tstl/api/interfaces/std.base.container.ilinearcontainer.html) | ||
- [Vector](http://samchon.github.io/tstl/api/classes/std.vector.html) | ||
- [List](http://samchon.github.io/tstl/api/classes/std.list.html) | ||
- [Deque](http://samchon.github.io/tstl/api/classes/std.deque.html) | ||
- **Associative Containers** | ||
- [**Tree-structured Containers**](http://samchon.github.io/typescript-stl/api/classes/std.base.tree.rbtree.html) | ||
- [TreeSet](http://samchon.github.io/typescript-stl/api/classes/std.treeset.html) | ||
- [TreeMap](http://samchon.github.io/typescript-stl/api/classes/std.treemap.html) | ||
- [TreeMultiSet](http://samchon.github.io/typescript-stl/api/classes/std.treemultiset.html) | ||
- [TreeMultiMap](http://samchon.github.io/typescript-stl/api/classes/std.treemultimap.html) | ||
- [**Hashed Containers**](http://samchon.github.io/typescript-stl/api/classes/std.base.hash.hashbuckets.html) | ||
- [HashSet](http://samchon.github.io/typescript-stl/api/classes/std.hashset.html) | ||
- [HashMap](http://samchon.github.io/typescript-stl/api/classes/std.hashmap.html) | ||
- [HashMultiSet](http://samchon.github.io/typescript-stl/api/classes/std.hashmultiset.html) | ||
- [HashMultiMap](http://samchon.github.io/typescript-stl/api/classes/std.hashmultimap.html) | ||
- [**Tree-structured Containers**](http://samchon.github.io/tstl/api/classes/std.base.tree.rbtree.html) | ||
- [TreeSet](http://samchon.github.io/tstl/api/classes/std.treeset.html) | ||
- [TreeMap](http://samchon.github.io/tstl/api/classes/std.treemap.html) | ||
- [TreeMultiSet](http://samchon.github.io/tstl/api/classes/std.treemultiset.html) | ||
- [TreeMultiMap](http://samchon.github.io/tstl/api/classes/std.treemultimap.html) | ||
- [**Hashed Containers**](http://samchon.github.io/tstl/api/classes/std.base.hash.hashbuckets.html) | ||
- [HashSet](http://samchon.github.io/tstl/api/classes/std.hashset.html) | ||
- [HashMap](http://samchon.github.io/tstl/api/classes/std.hashmap.html) | ||
- [HashMultiSet](http://samchon.github.io/tstl/api/classes/std.hashmultiset.html) | ||
- [HashMultiMap](http://samchon.github.io/tstl/api/classes/std.hashmultimap.html) | ||
- **Adaptor Containers** | ||
- [Queue](http://samchon.github.io/typescript-stl/api/classes/std.queue.html) | ||
- [Stack](http://samchon.github.io/typescript-stl/api/classes/std.stack.html) | ||
- [PriorityQueue](http://samchon.github.io/typescript-stl/api/classes/std.priorityqueue.html) | ||
- [Queue](http://samchon.github.io/tstl/api/classes/std.queue.html) | ||
- [Stack](http://samchon.github.io/tstl/api/classes/std.stack.html) | ||
- [PriorityQueue](http://samchon.github.io/tstl/api/classes/std.priorityqueue.html) | ||
@@ -39,5 +39,5 @@ ##### Global Functions | ||
- [<functional>](http://www.cplusplus.com/reference/functional) | ||
- [std.bind](http://samchon.github.io/typescript-stl/api/modules/std.html#bind) | ||
- [std.bind](http://samchon.github.io/tstl/api/modules/std.html#bind) | ||
- [<utility>](http://www.cplusplus.com/reference/utility) | ||
- [std.Pair](http://samchon.github.io/typescript-stl/api/classes/std.pair.html) | ||
- [std.Pair](http://samchon.github.io/tstl/api/classes/std.pair.html) | ||
@@ -47,7 +47,7 @@ | ||
## References | ||
You can learn and explore about TypeScript-STL more deeply with such below: | ||
You can learn and explore about TSTL more deeply with such below: | ||
- [Guidebook (wiki)](https://github.com/samchon/typescript-stl/wiki) | ||
- [API Documents](http://samchon.github.io/typescript-stl/api) | ||
- [Class Diagram](https://samchon.github.io/typescript-stl/design/class_diagram.pdf) | ||
- [Guidebook (wiki)](https://github.com/samchon/tstl/wiki) | ||
- [API Documents](http://samchon.github.io/tstl/api) | ||
- [Class Diagram](http://samchon.github.io/tstl/design/class_diagram.pdf) | ||
@@ -57,20 +57,18 @@ | ||
## Installation | ||
Installing *TypeScript-STL* in **node** is very easy. Just install with **npm** and **tsd**. | ||
Installing *TSTL* in **node** is very easy. Just install with **npm** and **tsd**. | ||
#### Node | ||
``` bash | ||
# Install TypeScript-STL from NPM modules | ||
npm install --save typescript-stl | ||
# Install TSTL from NPM modules | ||
npm install --save tstl | ||
# If you need header, then fetch from the @types | ||
npm install --save @types/typescript-stl | ||
# If you need only header, then fetch from the @types | ||
npm install --save @types/tstl | ||
``` | ||
#### TypeScript | ||
Don't forget to referencing and importing the ```typescript-stl```. | ||
``` typescript | ||
/// <reference types="typescript-stl" /> | ||
/// <reference types="tstl" /> | ||
import std = require("typescript-stl"); | ||
import std = require("tstl"); | ||
let map: std.TreeMap<string, number> = new std.TreeMap<string, number>(); | ||
@@ -88,7 +86,9 @@ | ||
#### Browser | ||
*TypeScript-STL* follows *CommonJS* module. You can't use ```require``` statement of *RequireJS*, which is following *AMD* module. Just include *TypeScript-STL*'s *js file* with ```<script>``` tag. | ||
*TSTL* follows *CommonJS* module. | ||
Use [browserify](https://www.npmjs.com/package/browserify) or just include *TSTL*'s *js file* with ```<script>``` tag. | ||
###### In HTML Document | ||
``` javascript | ||
<script src="typescript-stl.js"></script> | ||
<script src="tstl.js"></script> | ||
``` | ||
@@ -100,18 +100,18 @@ | ||
- [**Outline**](https://github.com/samchon/typescript-stl/wiki/Home) | ||
- [Introduction](https://github.com/samchon/typescript-stl/wiki/Home#introduction) | ||
- [References](https://github.com/samchon/typescript-stl/wiki/Home#references) | ||
- [Installation](https://github.com/samchon/typescript-stl/wiki/Home#installation) | ||
- [**Differences between C++**](https://github.com/samchon/typescript-stl/wiki/Differences) | ||
- [Naming Convention](https://github.com/samchon/typescript-stl/wiki/Differences#naming-convention) | ||
- [Operator Overriding](https://github.com/samchon/typescript-stl/wiki/Differences#operator-overriding) | ||
- [Iterator](https://github.com/samchon/typescript-stl/wiki/Differences#iterator) | ||
- [Tree Container](https://github.com/samchon/typescript-stl/wiki/Differences#tree-container) | ||
- [Hash Container](https://github.com/samchon/typescript-stl/wiki/Differences#hash-container) | ||
- [**Tutorial**](https://github.com/samchon/typescript-stl/wiki/Tutorial) | ||
- [Linear Container](https://github.com/samchon/typescript-stl/wiki/Tutorial#linear-container) | ||
- [Tree Container](https://github.com/samchon/typescript-stl/wiki/Tutorial#tree-container) | ||
- [Hash Container](https://github.com/samchon/typescript-stl/wiki/Tutorial#hash-container) | ||
- [Miscellaneous](https://github.com/samchon/typescript-stl/wiki/Tutorial-Miscellaneous) | ||
- [Algorithm](https://github.com/samchon/typescript-stl/wiki/Tutorial-Miscellaneous#algorithm) | ||
- [Functional](https://github.com/samchon/typescript-stl/wiki/Tutorial-Miscellaneous#functional) | ||
- [**Outline**](https://github.com/samchon/tstl/wiki/Home) | ||
- [Introduction](https://github.com/samchon/tstl/wiki/Home#introduction) | ||
- [References](https://github.com/samchon/tstl/wiki/Home#references) | ||
- [Installation](https://github.com/samchon/tstl/wiki/Home#installation) | ||
- [**Differences between C++**](https://github.com/samchon/tstl/wiki/Differences) | ||
- [Naming Convention](https://github.com/samchon/tstl/wiki/Differences#naming-convention) | ||
- [Operator Overriding](https://github.com/samchon/tstl/wiki/Differences#operator-overriding) | ||
- [Iterator](https://github.com/samchon/tstl/wiki/Differences#iterator) | ||
- [Tree Container](https://github.com/samchon/tstl/wiki/Differences#tree-container) | ||
- [Hash Container](https://github.com/samchon/tstl/wiki/Differences#hash-container) | ||
- [**Tutorial**](https://github.com/samchon/tstl/wiki/Tutorial) | ||
- [Linear Container](https://github.com/samchon/tstl/wiki/Tutorial#linear-container) | ||
- [Tree Container](https://github.com/samchon/tstl/wiki/Tutorial#tree-container) | ||
- [Hash Container](https://github.com/samchon/tstl/wiki/Tutorial#hash-container) | ||
- [Miscellaneous](https://github.com/samchon/tstl/wiki/Tutorial-Miscellaneous) | ||
- [Algorithm](https://github.com/samchon/tstl/wiki/Tutorial-Miscellaneous#algorithm) | ||
- [Functional](https://github.com/samchon/tstl/wiki/Tutorial-Miscellaneous#functional) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
23859
0
1270759