Skip to content

G43riko/GTools

Repository files navigation

license Actions status REPO SIZE CODE SIZE GitHub commit activity GitHub last commit Coverage Quality Gate Status Code Smells Lines of Code Duplicated Lines (%) Vulnerabilities

GTools

NPM

Documentation

Scan docker

docker run \
    --rm \
    -e SONAR_SCANNER_OPTS="-Dsonar.projectKey=G43riko_GTools" \
    -e SONAR_SCANNER_OPTS="-Dsonar.organization=g43riko" \
    -e SONAR_SCANNER_OPTS="-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info" \
    -e SONAR_TOKEN=35e611231b768d371f22e880a31bbada5f9359d3 \
    -v ".:/usr/src" \
    sonarsource/sonar-scanner-cli

Contents

Installation

NodeJS

run npm install gtools

import { ArrayUtils } from "gtools";

const min = ArrayUtils.min([1, 2, 3]);

Browser

<!DOCTYPE html>
<html>
    <head>
        <title>Test</title>
        <script type="text/javascript" src="gtools.web.js"></script>
    </head>
    <body>
        <script type="text/javascript">
            const min = G.array.min([1, 2, 3]);
        </script>
    </body>
</html>

List of methods

TODO ##Implements https://github.com/G43riko/JavaUtils/blob/master/GLib2/src/main/java/org/utils/QuadIterator.java https://github.com/G43riko/JavaUtils/tree/master/GLib2/src/main/java/org/utils/noises https://github.com/G43riko/JavaUtils/blob/master/GLib2/src/test/java/org/glib2/math/Bresenhams3D.java https://github.com/G43riko/JavaUtils/blob/master/GLib2/src/main/java/org/utils/GeometryUtils.java

Structure of src directory

Release steps

  1. change version in package.json
  2. run all tests with npm test
  3. run npm run release
  4. run npm publish
  5. commit and push data to github
  6. wait for the build to complete on travis and check for success
  7. create new release on github

Packages

 
 
 

Contributors