GithubHelp home page GithubHelp logo

schedul-xor / murmurhash-closure Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 536 KB

Porting Murmur-hash ( https://github.com/garycourt/murmurhash-js )

License: MIT License

JavaScript 73.41% HTML 3.88% Python 8.68% CSS 13.98% Shell 0.06%

murmurhash-closure's Introduction

murmurhash-closure

Build Status

This is a ported garycourt/murmurhash-js with Travis CI and Google Closure Compiler support.

How to build and run

Install required node modules and build deps.js.

npm install -g npm && npm install
python node_modules/nclosure/third_party/closure-library/closure/bin/build/depswriter.py \
  "--root_with_prefix=src/ ../../../../../../src" \
  "--root_with_prefix=examples/ ../../../../../../examples" \
  "--root_with_prefix=node_modules/nclosure/lib/third_party/node ../../../../lib/third_party/node" 
> deps.js

Run example server (deps.js required)

It will start listening port 3000, launch your web browser and set URI to http://localhost:3000/

node tasks/serve.js

Run unit test.

find test | grep '.test.js$' | xargs mocha -R tap

Build compressed version.

node tasks/build.js buildcfg/config.json mh.min.js

TODOs

  • Linter
  • Generate JSDoc

Thanks

  • Gary Court (developer of the original version)
  • OpenLayers developers (borrowed lots and lots of node scripts they'd developed to make Closure developing easier)
  • Austin Appleby (designer of Murmur Hash)

murmurhash-closure's People

Contributors

schedul-xor avatar

Watchers

 avatar James Cloos avatar

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.