diff --git a/README.md b/README.md index 938096f..3a5531a 100644 --- a/README.md +++ b/README.md @@ -21,20 +21,20 @@ npm install uuid-mongodb ```javascript const MUUID = require('uuid-mongodb'); -# Create a v1 binary UUID +// Create a v1 binary UUID const mUUID1 = MUUID.v1(); -# Create a v4 binary UUID +// Create a v4 binary UUID const mUUID4 = MUUID.v4(); -# Print a string representation of a binary UUID +// Print a string representation of a binary UUID mUUID1.toString() -# Create a binary UUID from a valid uuid string +// Create a binary UUID from a valid uuid string const mUUID2 = MUUID.from('393967e0-8de1-11e8-9eb6-529269fb1459') -# Create a binary UUID from a MongoDb Binary -# This is useful to get MUUIDs helpful toString() method +// Create a binary UUID from a MongoDb Binary +// This is useful to get MUUIDs helpful toString() method const mUUID3 = MUUID.from(/** MongoDb Binary of SUBTYPE_UUID */) ```