Tabnine Logo For Javascript
hash-sum
Code IndexAdd Tabnine to your IDE (free)

How to use hash-sum

Best JavaScript code snippets using hash-sum(Showing top 4 results out of 315)

origin: kriskbx/gitlab-time-tracker

_cacheDelete(key) {
    let file = Fs.join(this.dir, hash(key));
    if (!fs.existsSync(file)) return false;

    return fs.unlinkSync(file);
  }
origin: fedte/alblog

const files = manifest.modules[hash(id)] = chunk.files.map(fileToIndex)
origin: kriskbx/gitlab-time-tracker

_cacheGet(key) {
    let file = Fs.join(this.dir, hash(key));
    if (!fs.existsSync(file)) return false;

    return JSON.parse(fs.readFileSync(file));
  }
origin: kriskbx/gitlab-time-tracker

_cacheSet(key, value) {
    let file = Fs.join(this.dir, hash(key));
    if (fs.existsSync(file)) fs.unlinkSync(file);
    fs.appendFile(file, JSON.stringify(value), () => {
    });

    return value;
  }
hash-sum(npm)

JSDoc

Blazing fast unique hash generator

Most used hash-sum functions

  • hash

Popular in JavaScript

  • lodash
    Lodash modular utilities.
  • ws
    Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
  • fs-extra
    fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
  • fs
  • rimraf
    A deep deletion module for node (like `rm -rf`)
  • semver
    The semantic version parser used by npm.
  • async
    Higher-order functions and common patterns for asynchronous code
  • moment
    Parse, validate, manipulate, and display dates
  • yargs
    yargs the modern, pirate-themed, successor to optimist.
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJavascript Code Index
Get Tabnine for your IDE now