{"_id":"r-gitlab-api","_rev":"4-f2fa3126b98337e2937cc2b8c827620d","name":"r-gitlab-api","description":"A Typescipt project to which provides services for accessing api","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"r-gitlab-api","version":"0.0.1","description":"A starter project for NodeJS - TypeScript server application","main":"dist/index.js","typing":"dist/index.d.ts","scripts":{"build":"npm run lint && npm run clean && tsc","clean":"rimraf dist/","develop":"npm run build && concurrently -r 'npm run watch' 'npm run start:watch'","lint":"tslint src/**/*.ts","prepublish":"npm run build","rimraf":"./node_modules/rimraf/bin.js","start":"node dist/index.js","start:watch":"nodemon --watch dist --watch conf dist/index.js","tdd":"concurrently -r 'npm run watch' 'npm run test:watch'","test":"istanbul cover ./node_modules/mocha/bin/_mocha -- **/*.spec.js","test:watch":"nodemon --watch dist --watch test --exec 'npm run test'","tsc":"./node_modules/typescript/bin/tsc","tslint":"./node_modules/tslint/bin/tslint","watch":"npm run tsc -- -w"},"dependencies":{"es6-promise":"^4.0.5","frisbee":"^1.5.0","isomorphic-fetch":"^2.2.1","mongo-restifier":"^2.0.4","urlencode":"^1.1.0"},"devDependencies":{"@types/node":"^6.0.48","chai":"^3.5.0","concurrently":"^3.1.0","istanbul":"^0.4.5","mocha":"^3.2.0","nodemon":"^1.11.0","rimraf":"^2.5.4","tslint":"^3.15.1","typescript":"^2.6.1"},"repository":{"type":"git","url":"git+https://github.com/rintoj/ts-node-starter.git"},"author":{"name":"Rinto Jose"},"license":"MIT","bugs":{"url":"https://github.com/rintoj/ts-node-starter/issues"},"homepage":"https://github.com/rintoj/ts-node-starter#readme","keywords":["NodeJS","TypeScript","Starter"],"gitHead":"1fdd83c8a0152e1f0d81f25aac2de10227edec00","_id":"r-gitlab-api@0.0.1","_shasum":"45b55c8147c5a17e142eeafa1cddef0d79e4f945","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"jacksonsunnyrodrigues","email":"jackson.sunny.rodrigues@gmail.com"},"dist":{"shasum":"45b55c8147c5a17e142eeafa1cddef0d79e4f945","tarball":"https://registry.npmjs.org/r-gitlab-api/-/r-gitlab-api-0.0.1.tgz","integrity":"sha512-vp6ALiepKioM1IUfwF00Cjk72I7mxX8iw+8AfT7vmApGmq9AZf5L+LMHNtO6yas6NYkWz8q4zrTbFd8tMAiNxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGP63XbIYOwzfs6/RE/WrY6qkMkYioLnyUITRKjNlIsQIhAIDmNaG1U9QYxfvYsLPdEEyafEt52xBAqW4YrKG/rrXt"}]},"maintainers":[{"name":"jacksonsunnyrodrigues","email":"jackson.sunny.rodrigues@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/r-gitlab-api-0.0.1.tgz_1509812858588_0.904040175722912"}},"0.0.2":{"name":"r-gitlab-api","version":"0.0.2","description":"A Typescipt project to which provides services for accessing api","main":"dist/index.js","typing":"dist/index.d.ts","scripts":{"build":"npm run lint && npm run clean && tsc","clean":"rimraf dist/","develop":"npm run build && concurrently -r 'npm run watch' 'npm run start:watch'","lint":"tslint src/**/*.ts","prepublish":"npm run build","rimraf":"./node_modules/rimraf/bin.js","start":"node dist/index.js","start:watch":"nodemon --watch dist --watch conf dist/index.js","tdd":"concurrently -r 'npm run watch' 'npm run test:watch'","test":"istanbul cover ./node_modules/mocha/bin/_mocha -- **/*.spec.js","test:watch":"nodemon --watch dist --watch test --exec 'npm run test'","tsc":"./node_modules/typescript/bin/tsc","tslint":"./node_modules/tslint/bin/tslint","watch":"npm run tsc -- -w"},"dependencies":{"es6-promise":"^4.0.5","frisbee":"^1.5.0","isomorphic-fetch":"^2.2.1","mongo-restifier":"^2.0.4","urlencode":"^1.1.0"},"devDependencies":{"@types/node":"^6.0.48","chai":"^3.5.0","concurrently":"^3.1.0","istanbul":"^0.4.5","mocha":"^3.2.0","nodemon":"^1.11.0","rimraf":"^2.5.4","tslint":"^3.15.1","typescript":"^2.6.1"},"repository":{"type":"git","url":"git+https://github.com/JacksonSRodrigues/gitlab-api.git"},"author":{"name":"Jackson Sunny Rodrigues"},"license":"MIT","bugs":{"url":"https://github.com/JacksonSRodrigues/gitlab-api/issues"},"homepage":"https://github.com/JacksonSRodrigues/gitlab-api.git#readme","keywords":["NodeJS","TypeScript","Starter"],"gitHead":"b00dd8fa1126a4e13f1a7c4004ef352529587471","_id":"r-gitlab-api@0.0.2","_shasum":"861a88d12001995eca4a458d470ce1415a5d14b2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"jacksonsunnyrodrigues","email":"jackson.sunny.rodrigues@gmail.com"},"dist":{"shasum":"861a88d12001995eca4a458d470ce1415a5d14b2","tarball":"https://registry.npmjs.org/r-gitlab-api/-/r-gitlab-api-0.0.2.tgz","integrity":"sha512-dtcNP6wZ2uGslrvRBPm99VuUgzh61GheXED+IsgF9ddD5dwZ4kKgtcfccChYUHJaR0P7/C6GfPnkE0i81c0mZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDX6VTDdSVy8/ytcRrH3u6enTk2wd3U935A1vHmeRr7GwIhAOFjPprE+NWuINH60mIWnXJrKOg1g81EWkTN9vjFreZF"}]},"maintainers":[{"name":"jacksonsunnyrodrigues","email":"jackson.sunny.rodrigues@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/r-gitlab-api-0.0.2.tgz_1509821457978_0.40148244821466506"}},"0.0.3":{"name":"r-gitlab-api","version":"0.0.3","description":"A Typescipt project to which provides services for accessing api","main":"dist/index.js","typings":"dist/index.d.ts","scripts":{"build":"npm run lint && npm run clean && tsc","clean":"rimraf dist/","develop":"npm run build && concurrently -r 'npm run watch' 'npm run start:watch'","lint":"tslint src/**/*.ts","prepublish":"npm run build","rimraf":"./node_modules/rimraf/bin.js","start":"node dist/index.js","start:watch":"nodemon --watch dist --watch conf dist/index.js","tdd":"concurrently -r 'npm run watch' 'npm run test:watch'","test":"istanbul cover ./node_modules/mocha/bin/_mocha -- **/*.spec.js","test:watch":"nodemon --watch dist --watch test --exec 'npm run test'","tsc":"./node_modules/typescript/bin/tsc","tslint":"./node_modules/tslint/bin/tslint","watch":"npm run tsc -- -w","webpack":"./node_modules/webpack/bin","pack":"webpack"},"dependencies":{"dts-bundle":"^0.7.3","es6-promise":"^4.0.5","frisbee":"^1.5.0","isomorphic-fetch":"^2.2.1","mongo-restifier":"^2.0.4","urlencode":"^1.1.0"},"devDependencies":{"@types/node":"^6.0.48","chai":"^3.5.0","concurrently":"^3.1.0","dts-bundle":"^0.7.3","dts-webpack-bundler":"^1.0.3","istanbul":"^0.4.5","mocha":"^3.2.0","nodemon":"^1.11.0","rimraf":"^2.5.4","ts-loader":"^3.1.1","tslint":"^3.15.1","typescript":"^2.6.1","webpack":"^3.8.1"},"repository":{"type":"git","url":"git+https://github.com/JacksonSRodrigues/gitlab-api.git"},"author":{"name":"Jackson Sunny Rodrigues"},"license":"MIT","bugs":{"url":"https://github.com/JacksonSRodrigues/gitlab-api/issues"},"homepage":"https://github.com/JacksonSRodrigues/gitlab-api.git#readme","keywords":["NodeJS","TypeScript","Starter"],"gitHead":"84f70bce40289e4f9a64432c5ebfcba15342428b","_id":"r-gitlab-api@0.0.3","_shasum":"417a6b7e465c7240d5cc88b20c27dc5fa07946c0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"jacksonsunnyrodrigues","email":"jackson.sunny.rodrigues@gmail.com"},"dist":{"shasum":"417a6b7e465c7240d5cc88b20c27dc5fa07946c0","tarball":"https://registry.npmjs.org/r-gitlab-api/-/r-gitlab-api-0.0.3.tgz","integrity":"sha512-KWfDJO7s6/Sl/51yuTYF83tBhtc51F9WrSQ9sljP4Js/SZXwfGM7hJ4Jdt2Gzb4p2teeJETDUoofK2pl4tO3kg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJLth17AK4CVmJPAhkLSNewXSpbe+1eMYOAPKyZc/lcwIgL4IwwuXLJBa7WZRTSYFz6FLyIQxmPhL8Aa28d4drRJ0="}]},"maintainers":[{"name":"jacksonsunnyrodrigues","email":"jackson.sunny.rodrigues@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/r-gitlab-api-0.0.3.tgz_1512239478412_0.6642458562273532"}}},"readme":"# r-gitlab-api\nAn javascript api for accessing gitlab api's into your project. Build on Typescript. Gives access to basic gitlab operations you need to do by simply setting private token. Internally uses Frisbee api.. thanks to Frisbee team..\n\n### Install\n```\nnpm install r-gitlab-api --save\n```\n\n#### How to Use\n\n##### Before Calling the api\n``` ts\nimport { setAccessToken } from 'r-gitlab-api'\n\nsetAccessToken('ACCESS_TOKEN')\n```\n\n##### Projects\n``` ts\nimport { Visibility } from 'r-gitlab-api'\nimport { Projects, Project } from 'r-gitlab-api'\n\nconst projects: Project[] = await Projects.getAll(Visibility.PRIVATE)\n``` \n\n##### Issues\n\n```ts\nimport { Issues, Issue } from 'r-gitlab-api'\n\nlet issues: Issue[] = await Issues.getAllOfProject(project.id)\n```\n\n\n## API\n### Projects\n```ts\ngetAll(visibity?: Visibility, owned?: boolean, membership?: boolean, sort?: SortOrder, orderby?: Orderby, search?: string): Promise<Project[]>\n\ngetOne(id: string): Promise<Project>\n```\n\n\n\n### Issues\n\n```ts\ngetAll(state?: State, scope?: Scope, labels?: string[], milestoneTitle?: string, orderBy?: (Orderby.CREATED_AT | Orderby.UPDATED_AT), sort?: SortOrder, search?: string, milestoneIds?: string[], authoredBy?: string, assignedTo?: string): Promise<Issue[]>\n\ngetAllOfProject(projectId: string, state?: State, scope?: Scope, labels?: string[], milestoneTitle?: string, sort?: SortOrder, search?: string, milestoneIds?: string[], authoredBy?: string, assignedTo?: string): Promise<Issue[]>\n\ngetOneOfProject(projectId: string, issueId: string): Promise<Issue[]>\n\ncreate(projectId: string, title: string, description?: string, confidential?: boolean, assigneeIds?: string[], milestoneId?: string, labels?: string[], dueDate?: Date): Promise<Issue>\n\nedit(projectId: string, issueId: string, title?: string, description?: string, confidential?: boolean, assigneeIds?: string[], milestoneId?: string, labels?: string[], dueDate?: Date, event?: 'reopen' | 'close'): Promise<Issue>\n\ndeleteOne(projectId: string, issueId: string): Promise<Issue>\n```\n\n### Labels\n\n```ts\ngetAll(projectId: string): Promise<Label[]>\n\ncreate(projectId: string, name: string, color: string, description?: string): Promise<Label>\n```\n\n### Project Milestones\n\n```ts\ngetAll(projectId: string, state?: State, search?: string, milestoneIds?: string[]): Promise<Milestone[]>\n\ngetOne(projectId: string, milestoneId: string): Promise<Milestone[]>\n\ncreate(projectId: string, title: string, description?: string, dueDate?: Date, startDate?: Date): Promise<Milestone>\n\nedit(projectId: string, milestoneId: string, title?: string, description?: string, dueDate?: Date, startDate?: Date, stateEvent?: string): Promise<Milestone>\n\ngetIssues(projectId: string, milestoneId: string): Promise<Issue[]>\n```","maintainers":[{"name":"jacksonsunnyrodrigues","email":"jackson.sunny.rodrigues@gmail.com"}],"time":{"modified":"2022-06-25T08:34:28.913Z","created":"2017-11-04T16:27:38.650Z","0.0.1":"2017-11-04T16:27:38.650Z","0.0.2":"2017-11-04T18:50:58.158Z","0.0.3":"2017-12-02T18:31:18.553Z"},"homepage":"https://github.com/JacksonSRodrigues/gitlab-api.git#readme","keywords":["NodeJS","TypeScript","Starter"],"repository":{"type":"git","url":"git+https://github.com/JacksonSRodrigues/gitlab-api.git"},"author":{"name":"Jackson Sunny Rodrigues"},"bugs":{"url":"https://github.com/JacksonSRodrigues/gitlab-api/issues"},"license":"MIT","readmeFilename":"README.md"}