title: How to tell if local dynamodb is up?
body: <p>I want to write a script that will check if a local dynamodb instance is running, if it is, do nothing. If not, start one with:</p>
  
  <pre><code>java -Djava.library.path=. -jar DynamoDBLocal.jar
  </code></pre>
  
  <p>Solution that works in node.js would be best. I am using the AWS SDK for node. </p>