node-ip-snowflake (npm): generate unique ID(code) with a little modification of twitter snowflake, and get workID by IP of program(or container),  implemented with nodejs 
Keywords: node.js|javascript|snowflake|twitter|ip|workerId