3.5.0 • Published 1 month ago

override.ps1 v3.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

override.ps1 - Typescript Based Minimal JS Functions

How to Install and Use ?

# For package.json file
$ npm init -y
# Install the module
$ npm install override.ps1@latest --save-dev

Usage in TypeScript

import { Permute, trace, getValue } from 'override.ps1';
import { Promise } from '@types/promises';
import { Swap, appendDataToProperty } from 'override.ps1';

// stdout to console.
trace("This is a traced message.");

// If you prefer Generic Programming.
const A = [2, 5, 6];
const R = Permute<number>(A);

trace("All Permutations: ");
R.forEach((permutation) => {
    console.log(permutation);
});

trace(" == End of Script == ");

Usage in JavaScript

const over = require('override.ps1');
over.info("This is a log message");
var id = over.generatePlayerId();
over.info(id);

// Creates Key Value Pair and Prints them
over.CreateKeyValuePair("userid", 10002);

TypeScript vs. JavaScript

Who will be the king in future ?

3.5.0

1 month ago

3.1.0

2 months ago

3.0.0

3 months ago

2.5.0

3 months ago

2.1.0

4 months ago

2.0.0

4 months ago

1.9.9

5 months ago

1.8.9

6 months ago

1.8.0

6 months ago

1.7.9

6 months ago

1.7.5

6 months ago

1.7.1

7 months ago

1.7.0

7 months ago

1.6.9

7 months ago

1.6.2

7 months ago

1.6.1

7 months ago

1.6.0

7 months ago

1.5.9

7 months ago

1.5.0

7 months ago

1.4.0

7 months ago

1.3.0

7 months ago

1.2.0

7 months ago

1.1.1

7 months ago