Giter Club home page Giter Club logo

nordrassil's Introduction

nordrassil Build & TestCoverage Status

Nordrassil, the Word Trie - a trie data structure implemented in vanilla JavaScript

Demo: Nordrassil, the Word Trie

Build locally

Install dependencies with:

npm install

This app uses the Vite build tool with a non-default config. The source resides inside the app directory and is built by Vite into the dist directory. You can serve the content in dist using your preferred web server.

To initiate a build:

npm run build

Development

Vite can also watch the app directory for file changes, and serve the content without needing to run a build. This is the best way to develop, as it will not require source maps and will auto reload the browser tab you are viewing from.

To initiate dev mode and serve the content on http://localhost:5173:

npm run dev

Or, to have Vite watch for changes and serve the complete production build on http://localhost:4173:

npm run serve

Or, to do the same watching for changes and the production build, but serve dist from your preferred web server instead:

npm run watch

Test suite

Run test cases with:

npm test

This will run the tests in test using Mocha. Code coverage reports are also set up with c8.

To get a code coverage report with the tests:

npm run coverage

License

See LICENSE file included in this distribution.

nordrassil's People

Contributors

mgarbacz avatar mortonfox avatar

Stargazers

Rachel Schifano avatar

Watchers

 avatar

nordrassil's Issues

Code Coverage badge in README is now, essentially, fake

Showing results from the last build in 2017, coveralls no longer configured, I don't want to give them all the blanket OAUth perms they want, so we do something else at some point.

Probs a Github Action, maybe have it stick the badge in S3 for the README to yank, or we can be content with code coverage being stuck in a PR comment.

Visualization of Trie

Visualize the trie and animate it as it is being searched or added to.

Something that invokes the idea of the namesake - Nordrassil, the World Tree

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.