NPM package for our internal Dictionary class
- Node.js
- npm (normally included)
- typescript
npm install @nova-studios-ltd/typescript-dictionary
import { KeyValuePair, Dictionary } from "@nova-studios-ltd/typescript-dictionary";
// Create new instance
const dict = new Dictionary<string, string>();
// Set key/value
dict.setValue("Hello", "Bonjour");
// Get value
dict.getValue("Hello") // -> Returns 'Bonjour'
Download a zipped version here or clone via HTTPS:
git clone https://github.com/Nova-Studios-Ltd/Typescript-Dictionary-Package.git
This project is currently licensed under a GPLv3 license.