0.884
This commit is contained in:
29
Source/lib/ntp-client/README.md
Normal file
29
Source/lib/ntp-client/README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# ntp-client [](http://travis-ci.org/moonpyk/node-ntp-client)
|
||||
|
||||
Pure Javascript implementation of the NTP Client Protocol
|
||||
|
||||
## Getting Started
|
||||
Install the module with: `npm install ntp-client`
|
||||
|
||||
```javascript
|
||||
var ntpClient = require('ntp-client');
|
||||
|
||||
ntpClient.getNetworkTime("pool.ntp.org", 123, function(err, date) {
|
||||
if(err) {
|
||||
console.error(err);
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("Current time : ");
|
||||
console.log(date); // Mon Jul 08 2013 21:31:31 GMT+0200 (Paris, Madrid (heure d’été))
|
||||
});
|
||||
```
|
||||
|
||||
## Contributors
|
||||
* Clément Bourgeois (https://github.com/moonpyk)
|
||||
* Callan Bryant (https://github.com/naggie)
|
||||
|
||||
## License
|
||||
Copyright (c) 2014 Clément Bourgeois
|
||||
Licensed under the MIT license.
|
||||
|
||||
Reference in New Issue
Block a user