
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
trie-system
Advanced tools
A Command Line Interface made with Node which can interact with a Trie hosted globally live on a Google Cloud server
A Command Line Interface made with Node which can interact with a Trie hosted globally live on a Google Cloud server
A Trie is a type of search tree often called a prefix tree which stores keys through the use of nodes that hold individual characters.
The Trie used in this project is implemented in Javascript using nodes that contain a String character, boolean variable to keep track if it is an end word, and a Javascript Object to hold children references
(Rationale behind using A Javascript Object is that it is near equivalent to that of a HashMap with O(1) lookup and insert .etc, however with Javascript, a HashMap is an instance of an Object, therefore an Object is more basic and allows for a performance boost in many cases)
Install npm
https://www.npmjs.com/get-npm
In your command line of choice, install the npm package trie-system
npm install -g trie-system
In order to activate the CLI use the following command below
trie-system
The rest is mainly self-explanatory from there. You will be greeted by a menu with a variety of options to choose from to interact with the Trie on the server.
The CLI currently supports the following operations:
You can only input words that contain only english letters. No special characters or spaces .etc
Since the Trie is hosted globally on a server, it can be manipulated by multiple clients at the same time, so if another client performs operations at the same time as you, your operations may reflect different results than expected.
This repository was made as part of a project with a time constraint, so currently I am not longer actively working on this project.
These are some potential ideas/plans I could've done with this:
FAQs
A Command Line Interface made with Node which can interact with a Trie hosted globally live on a Google Cloud server
The npm package trie-system receives a total of 0 weekly downloads. As such, trie-system popularity was classified as not popular.
We found that trie-system demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.