diff --git a/README.md b/README.md index 3e0f9af3..f82138fd 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,13 @@ URL to your GitLab instance should not include `/api/v4` path. ```javascript // Connection with basic token -const GitlabAPI = require('gitlab-api')({ +const GitlabAPI = require('node-gitlab-api')({ url: 'http://example.com', // Defaults to http://gitlab.com token: 'abcdefghij123456' }) // Connection with oauth token -const GitlabAPI = require('gitlab-api')({ +const GitlabAPI = require('node-gitlab-api')({ url: 'http://example.com', // Defaults to http://gitlab.com oauthToken: 'abcdefghij123456' })