{"_id":"@alam.santiko/blog-jmk","_rev":"2-ab62019fab59b15423d74c8c412d3b50","name":"@alam.santiko/blog-jmk","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@alam.santiko/blog-jmk","version":"1.0.0","description":"Blogs Integration API With ESB","main":"dist/index.js","directories":{"doc":"docs","test":"test"},"dependencies":{"ansi-styles":"^3.2.1","anymatch":"^3.1.3","array-from":"^2.1.1","asynckit":"^0.4.0","babel-plugin-polyfill-corejs2":"^0.4.11","babel-plugin-polyfill-corejs3":"^0.10.4","babel-plugin-polyfill-regenerator":"^0.6.2","balanced-match":"^1.0.2","binary-extensions":"^2.3.0","blog":"^1.0.0","brace-expansion":"^1.1.11","braces":"^3.0.2","browser-stdout":"^1.3.1","browserslist":"^4.23.0","buffer-from":"^1.1.2","call-bind":"^1.0.7","caniuse-lite":"^1.0.30001616","chalk":"^2.4.2","chokidar":"^3.6.0","clone-deep":"^4.0.1","color-convert":"^1.9.3","color-name":"^1.1.3","combined-stream":"^1.0.8","commander":"^4.1.1","commondir":"^1.0.1","component-emitter":"^1.3.1","concat-map":"^0.0.1","convert-source-map":"^2.0.0","cookiejar":"^2.1.4","core-js-compat":"^3.37.0","core-util-is":"^1.0.3","debug":"^4.3.4","define-data-property":"^1.1.4","delayed-stream":"^1.0.0","diff":"^3.5.0","electron-to-chromium":"^1.4.757","es-define-property":"^1.0.0","es-errors":"^1.3.0","escalade":"^3.1.2","escape-string-regexp":"^1.0.5","esutils":"^2.0.3","expect.js":"^0.3.1","extend":"^3.0.2","fill-range":"^7.0.1","find-cache-dir":"^2.1.0","find-up":"^3.0.0","form-data":"^2.5.1","formidable":"^1.2.6","fs-readdir-recursive":"^1.1.0","fs.realpath":"^1.0.0","function-bind":"^1.1.2","gensync":"^1.0.0-beta.2","get-intrinsic":"^1.2.4","glob":"^7.2.3","glob-parent":"^5.1.2","globals":"^11.12.0","gopd":"^1.0.1","growl":"^1.10.5","has-flag":"^3.0.0","has-property-descriptors":"^1.0.2","has-proto":"^1.0.3","has-symbols":"^1.0.3","hasown":"^2.0.2","he":"^1.1.1","inflight":"^1.0.6","inherits":"^2.0.4","is-binary-path":"^2.1.0","is-core-module":"^2.13.1","is-extglob":"^2.1.1","is-glob":"^4.0.3","is-number":"^7.0.0","is-plain-object":"^2.0.4","isarray":"^0.0.1","isobject":"^3.0.1","js-tokens":"^4.0.0","jsesc":"^2.5.2","json5":"^2.2.3","just-extend":"^4.2.1","kind-of":"^6.0.3","locate-path":"^3.0.0","lodash":"^4.17.21","lodash.debounce":"^4.0.8","lolex":"^4.2.0","lru-cache":"^5.1.1","make-dir":"^2.1.0","methods":"^1.1.2","mime":"^1.6.0","mime-db":"^1.52.0","mime-types":"^2.1.35","minimatch":"^3.1.2","minimist":"^0.0.8","mkdirp":"^0.5.1","ms":"^2.1.2","nise":"^1.5.3","node-releases":"^2.0.14","normalize-path":"^3.0.0","object-inspect":"^1.13.1","once":"^1.4.0","p-limit":"^2.3.0","p-locate":"^3.0.0","p-try":"^2.2.0","path-exists":"^3.0.0","path-is-absolute":"^1.0.1","path-parse":"^1.0.7","path-to-regexp":"^1.8.0","picocolors":"^1.0.0","picomatch":"^2.3.1","pify":"^4.0.1","pirates":"^4.0.6","pkg-dir":"^3.0.0","process-nextick-args":"^2.0.1","qs":"^6.12.1","readable-stream":"^2.3.8","readdirp":"^3.6.0","regenerate":"^1.4.2","regenerate-unicode-properties":"^10.1.1","regenerator-runtime":"^0.14.1","regenerator-transform":"^0.15.2","regexpu-core":"^5.3.2","regjsparser":"^0.9.1","resolve":"^1.22.8","safe-buffer":"^5.1.2","semver":"^6.3.1","set-function-length":"^1.2.2","shallow-clone":"^3.0.1","side-channel":"^1.0.6","sinon":"^7.5.0","slash":"^2.0.0","source-map":"^0.6.1","source-map-support":"^0.5.21","string_decoder":"^1.1.1","superagent":"^3.7.0","supports-color":"^5.5.0","supports-preserve-symlinks-flag":"^1.0.0","to-fast-properties":"^2.0.0","to-regex-range":"^5.0.1","type-detect":"^4.0.8","unicode-canonical-property-names-ecmascript":"^2.0.0","unicode-match-property-ecmascript":"^2.0.0","unicode-match-property-value-ecmascript":"^2.1.0","unicode-property-aliases-ecmascript":"^2.1.0","update-browserslist-db":"^1.0.15","util-deprecate":"^1.0.2","wrappy":"^1.0.2","yallist":"^3.1.1"},"devDependencies":{"mocha":"^5.2.0"},"scripts":{"test":"mocha"},"author":{"name":"Alam Wibowo"},"license":"ISC","_id":"@alam.santiko/blog-jmk@1.0.0","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-mEPfYnH0jV9Ha64SxWN4dDme6e4UHp3pFIBhgYru5BpRGPWv7RxR3YOJzRMV4kvPdgFxlntzx/PzieFJjzNKeg==","shasum":"240b46949a457318126bbd99c318080e751d6e61","tarball":"https://registry.npmjs.org/@alam.santiko/blog-jmk/-/blog-jmk-1.0.0.tgz","fileCount":17,"unpackedSize":76760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSY4X+weAJ8grNqz/7aY2cZ8tl53xT2udMPEMh9qI+hQIhAKfErB8v/uwE8oPUM4wJ/wlqGtA+vbLhLhqZ5ndvAHZt"}]},"_npmUser":{"name":"alam.santiko","email":"alam.santiko@jamkrindo.co.id"},"maintainers":[{"name":"alam.santiko","email":"alam.santiko@jamkrindo.co.id"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blog-jmk_1.0.0_1715057376131_0.2388846783836054"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alam.santiko/blog-jmk","version":"1.0.1","description":"Blogs Integration API With ESB","main":"dist/index.js","directories":{"doc":"docs","test":"test"},"dependencies":{"@alam.santiko/blog-jmk":"^1.0.0","ansi-styles":"^3.2.1","anymatch":"^3.1.3","array-from":"^2.1.1","asynckit":"^0.4.0","babel-plugin-polyfill-corejs2":"^0.4.11","babel-plugin-polyfill-corejs3":"^0.10.4","babel-plugin-polyfill-regenerator":"^0.6.2","balanced-match":"^1.0.2","binary-extensions":"^2.3.0","blog":"^1.0.0","brace-expansion":"^1.1.11","braces":"^3.0.2","browser-stdout":"^1.3.1","browserslist":"^4.23.0","buffer-from":"^1.1.2","call-bind":"^1.0.7","caniuse-lite":"^1.0.30001616","chalk":"^2.4.2","chokidar":"^3.6.0","clone-deep":"^4.0.1","color-convert":"^1.9.3","color-name":"^1.1.3","combined-stream":"^1.0.8","commander":"^4.1.1","commondir":"^1.0.1","component-emitter":"^1.3.1","concat-map":"^0.0.1","convert-source-map":"^2.0.0","cookiejar":"^2.1.4","core-js-compat":"^3.37.0","core-util-is":"^1.0.3","debug":"^4.3.4","define-data-property":"^1.1.4","delayed-stream":"^1.0.0","diff":"^3.5.0","electron-to-chromium":"^1.4.757","es-define-property":"^1.0.0","es-errors":"^1.3.0","escalade":"^3.1.2","escape-string-regexp":"^1.0.5","esutils":"^2.0.3","expect.js":"^0.3.1","express":"^4.19.2","extend":"^3.0.2","fill-range":"^7.0.1","find-cache-dir":"^2.1.0","find-up":"^3.0.0","form-data":"^2.5.1","formidable":"^1.2.6","fs-readdir-recursive":"^1.1.0","fs.realpath":"^1.0.0","function-bind":"^1.1.2","gensync":"^1.0.0-beta.2","get-intrinsic":"^1.2.4","glob":"^7.2.3","glob-parent":"^5.1.2","globals":"^11.12.0","gopd":"^1.0.1","growl":"^1.10.5","has-flag":"^3.0.0","has-property-descriptors":"^1.0.2","has-proto":"^1.0.3","has-symbols":"^1.0.3","hasown":"^2.0.2","he":"^1.1.1","inflight":"^1.0.6","inherits":"^2.0.4","is-binary-path":"^2.1.0","is-core-module":"^2.13.1","is-extglob":"^2.1.1","is-glob":"^4.0.3","is-number":"^7.0.0","is-plain-object":"^2.0.4","isarray":"^0.0.1","isobject":"^3.0.1","js-tokens":"^4.0.0","jsesc":"^2.5.2","json5":"^2.2.3","just-extend":"^4.2.1","kind-of":"^6.0.3","locate-path":"^3.0.0","lodash":"^4.17.21","lodash.debounce":"^4.0.8","lolex":"^4.2.0","lru-cache":"^5.1.1","make-dir":"^2.1.0","methods":"^1.1.2","mime":"^1.6.0","mime-db":"^1.52.0","mime-types":"^2.1.35","minimatch":"^3.1.2","minimist":"^0.0.8","mkdirp":"^0.5.1","ms":"^2.1.2","nise":"^1.5.3","node-releases":"^2.0.14","nodemon":"^3.1.0","normalize-path":"^3.0.0","object-inspect":"^1.13.1","once":"^1.4.0","p-limit":"^2.3.0","p-locate":"^3.0.0","p-try":"^2.2.0","path-exists":"^3.0.0","path-is-absolute":"^1.0.1","path-parse":"^1.0.7","path-to-regexp":"^1.8.0","picocolors":"^1.0.0","picomatch":"^2.3.1","pify":"^4.0.1","pirates":"^4.0.6","pkg-dir":"^3.0.0","process-nextick-args":"^2.0.1","qs":"^6.12.1","readable-stream":"^2.3.8","readdirp":"^3.6.0","regenerate":"^1.4.2","regenerate-unicode-properties":"^10.1.1","regenerator-runtime":"^0.14.1","regenerator-transform":"^0.15.2","regexpu-core":"^5.3.2","regjsparser":"^0.9.1","resolve":"^1.22.8","safe-buffer":"^5.1.2","semver":"^6.3.1","set-function-length":"^1.2.2","shallow-clone":"^3.0.1","side-channel":"^1.0.6","sinon":"^7.5.0","slash":"^2.0.0","source-map":"^0.6.1","source-map-support":"^0.5.21","string_decoder":"^1.1.1","superagent":"^3.7.0","supports-color":"^5.5.0","supports-preserve-symlinks-flag":"^1.0.0","to-fast-properties":"^2.0.0","to-regex-range":"^5.0.1","type-detect":"^4.0.8","unicode-canonical-property-names-ecmascript":"^2.0.0","unicode-match-property-ecmascript":"^2.0.0","unicode-match-property-value-ecmascript":"^2.1.0","unicode-property-aliases-ecmascript":"^2.1.0","update-browserslist-db":"^1.0.15","util-deprecate":"^1.0.2","wrappy":"^1.0.2","yallist":"^3.1.1"},"devDependencies":{"mocha":"^5.2.0"},"scripts":{"test":"mocha","start":"nodemon sample"},"author":{"name":"Alam Wibowo"},"license":"ISC","_id":"@alam.santiko/blog-jmk@1.0.1","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-9C4w8mPLwFsJDKXqcrAh7TlTeH1r4jCm1UAu5bJ37Hr/0LT3UUOLBFbaw9VtFKdG7t6nfxZt0Qho/liH8hfD1w==","shasum":"e4fad680d9ea94a65f02fea3e3d477ea09669b05","tarball":"https://registry.npmjs.org/@alam.santiko/blog-jmk/-/blog-jmk-1.0.1.tgz","fileCount":17,"unpackedSize":76133,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAAnlHZKczSb2C/ATmwOmEHcMZ9rmyXaRHRrxsjXYGhAiAhi44kANobMl5J8hosKML/EWvAAZCb/qWR2OHBq7Qqmg=="}]},"_npmUser":{"name":"alam.santiko","email":"alam.santiko@jamkrindo.co.id"},"maintainers":[{"name":"alam.santiko","email":"alam.santiko@jamkrindo.co.id"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blog-jmk_1.0.1_1715066115868_0.19557735676888877"},"_hasShrinkwrap":false},"1.0.2":{"name":"@alam.santiko/blog-jmk","version":"1.0.2","description":"Blogs Integration API With ESB","main":"dist/index.js","directories":{"doc":"docs","test":"test"},"dependencies":{"@alam.santiko/blog-jmk":"^1.0.0","ansi-styles":"^3.2.1","anymatch":"^3.1.3","array-from":"^2.1.1","asynckit":"^0.4.0","axios":"^1.6.8","babel-plugin-polyfill-corejs2":"^0.4.11","babel-plugin-polyfill-corejs3":"^0.10.4","babel-plugin-polyfill-regenerator":"^0.6.2","balanced-match":"^1.0.2","binary-extensions":"^2.3.0","blog":"^1.0.0","brace-expansion":"^1.1.11","braces":"^3.0.2","browser-stdout":"^1.3.1","browserslist":"^4.23.0","buffer-from":"^1.1.2","call-bind":"^1.0.7","caniuse-lite":"^1.0.30001616","chalk":"^2.4.2","chokidar":"^3.6.0","clone-deep":"^4.0.1","color-convert":"^1.9.3","color-name":"^1.1.3","combined-stream":"^1.0.8","commander":"^4.1.1","commondir":"^1.0.1","component-emitter":"^1.3.1","concat-map":"^0.0.1","convert-source-map":"^2.0.0","cookiejar":"^2.1.4","core-js-compat":"^3.37.0","core-util-is":"^1.0.3","debug":"^4.3.4","define-data-property":"^1.1.4","delayed-stream":"^1.0.0","diff":"^3.5.0","electron-to-chromium":"^1.4.757","es-define-property":"^1.0.0","es-errors":"^1.3.0","escalade":"^3.1.2","escape-string-regexp":"^1.0.5","esutils":"^2.0.3","expect.js":"^0.3.1","express":"^4.19.2","extend":"^3.0.2","fill-range":"^7.0.1","find-cache-dir":"^2.1.0","find-up":"^3.0.0","form-data":"^2.5.1","formidable":"^1.2.6","fs-readdir-recursive":"^1.1.0","fs.realpath":"^1.0.0","function-bind":"^1.1.2","gensync":"^1.0.0-beta.2","get-intrinsic":"^1.2.4","glob":"^7.2.3","glob-parent":"^5.1.2","globals":"^11.12.0","gopd":"^1.0.1","growl":"^1.10.5","has-flag":"^3.0.0","has-property-descriptors":"^1.0.2","has-proto":"^1.0.3","has-symbols":"^1.0.3","hasown":"^2.0.2","he":"^1.1.1","inflight":"^1.0.6","inherits":"^2.0.4","is-binary-path":"^2.1.0","is-core-module":"^2.13.1","is-extglob":"^2.1.1","is-glob":"^4.0.3","is-number":"^7.0.0","is-plain-object":"^2.0.4","isarray":"^0.0.1","isobject":"^3.0.1","js-tokens":"^4.0.0","jsesc":"^2.5.2","json5":"^2.2.3","just-extend":"^4.2.1","kind-of":"^6.0.3","locate-path":"^3.0.0","lodash":"^4.17.21","lodash.debounce":"^4.0.8","lolex":"^4.2.0","lru-cache":"^5.1.1","make-dir":"^2.1.0","methods":"^1.1.2","mime":"^1.6.0","mime-db":"^1.52.0","mime-types":"^2.1.35","minimatch":"^3.1.2","minimist":"^0.0.8","mkdirp":"^0.5.1","ms":"^2.1.2","nise":"^1.5.3","node-releases":"^2.0.14","nodemon":"^3.1.0","normalize-path":"^3.0.0","object-inspect":"^1.13.1","once":"^1.4.0","p-limit":"^2.3.0","p-locate":"^3.0.0","p-try":"^2.2.0","path-exists":"^3.0.0","path-is-absolute":"^1.0.1","path-parse":"^1.0.7","path-to-regexp":"^1.8.0","picocolors":"^1.0.0","picomatch":"^2.3.1","pify":"^4.0.1","pirates":"^4.0.6","pkg-dir":"^3.0.0","process-nextick-args":"^2.0.1","qs":"^6.12.1","readable-stream":"^2.3.8","readdirp":"^3.6.0","regenerate":"^1.4.2","regenerate-unicode-properties":"^10.1.1","regenerator-runtime":"^0.14.1","regenerator-transform":"^0.15.2","regexpu-core":"^5.3.2","regjsparser":"^0.9.1","resolve":"^1.22.8","safe-buffer":"^5.1.2","semver":"^6.3.1","set-function-length":"^1.2.2","shallow-clone":"^3.0.1","side-channel":"^1.0.6","sinon":"^7.5.0","slash":"^2.0.0","source-map":"^0.6.1","source-map-support":"^0.5.21","string_decoder":"^1.1.1","superagent":"^3.7.0","supports-color":"^5.5.0","supports-preserve-symlinks-flag":"^1.0.0","to-fast-properties":"^2.0.0","to-regex-range":"^5.0.1","type-detect":"^4.0.8","unicode-canonical-property-names-ecmascript":"^2.0.0","unicode-match-property-ecmascript":"^2.0.0","unicode-match-property-value-ecmascript":"^2.1.0","unicode-property-aliases-ecmascript":"^2.1.0","update-browserslist-db":"^1.0.15","util-deprecate":"^1.0.2","wrappy":"^1.0.2","yallist":"^3.1.1"},"devDependencies":{"mocha":"^5.2.0"},"scripts":{"test":"mocha","start":"nodemon sample"},"author":{"name":"Alam Wibowo"},"license":"ISC","_id":"@alam.santiko/blog-jmk@1.0.2","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-BK5g1EKR8ylIQEyd/ghCDExwAqgbQV8cIG/bbMFAymOwTHfIEuSb3Rh9jighCMz2jiMVWnd49GbUM9jcoMemwQ==","shasum":"e4366d79397fe5e0d97d1769ebcfef9528881bcb","tarball":"https://registry.npmjs.org/@alam.santiko/blog-jmk/-/blog-jmk-1.0.2.tgz","fileCount":17,"unpackedSize":77712,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4mdSB40Kix3Q4eE4DFQ+08PQjwk7IMRhp5scw1/xuUgIgJYU8nUbCi72H/tNn3Wf2q/srh8grMQeMLqnD3HnOQJE="}]},"_npmUser":{"name":"alam.santiko","email":"alam.santiko@jamkrindo.co.id"},"maintainers":[{"name":"alam.santiko","email":"alam.santiko@jamkrindo.co.id"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blog-jmk_1.0.2_1715067421749_0.23599607053907734"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-07T04:49:36.031Z","1.0.0":"2024-05-07T04:49:36.326Z","modified":"2024-05-07T07:37:02.117Z","1.0.1":"2024-05-07T07:15:16.088Z","1.0.2":"2024-05-07T07:37:01.931Z"},"maintainers":[{"name":"alam.santiko","email":"alam.santiko@jamkrindo.co.id"}],"description":"Blogs Integration API With ESB","author":{"name":"Alam Wibowo"},"license":"ISC","readme":"# blog\n\nBlog - JavaScript client for blog\nNo description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\nThis SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: v1.0\n- Package version: v1.0\n- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen\n\n## Installation\n\n### For [Node.js](https://nodejs.org/)\n\n#### npm\n\nTo publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in [\"Publishing npm packages\"](https://docs.npmjs.com/getting-started/publishing-npm-packages).\n\nThen install it via:\n\n```shell\nnpm install blog --save\n```\n\nFinally, you need to build the module:\n\n```shell\nnpm run build\n```\n\n##### Local development\n\nTo use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:\n\n```shell\nnpm install\n```\n\nNext, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:\n\n```shell\nnpm link\n```\n\nTo use the link you just defined in your project, switch to the directory you want to use your blog from, and run:\n\n```shell\nnpm link /path/to/<JAVASCRIPT_CLIENT_DIR>\n```\n\nFinally, you need to build the module:\n\n```shell\nnpm run build\n```\n\n#### git\n\nIf the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID\nthen install it via:\n\n```shell\n    npm install GIT_USER_ID/GIT_REPO_ID --save\n```\n\n### For browser\n\nThe library also works in the browser environment via npm and [browserify](http://browserify.org/). After following\nthe above steps with Node.js and installing browserify with `npm install -g browserify`,\nperform the following (assuming *main.js* is your entry file):\n\n```shell\nbrowserify main.js > bundle.js\n```\n\nThen include *bundle.js* in the HTML pages.\n\n### Webpack Configuration\n\nUsing Webpack you may encounter the following error: \"Module not found: Error:\nCannot resolve module\", most certainly you should disable AMD loader. Add/merge\nthe following section to your webpack config:\n\n```javascript\nmodule: {\n  rules: [\n    {\n      parser: {\n        amd: false\n      }\n    }\n  ]\n}\n```\n\n## Getting Started\n\nPlease follow the [installation](#installation) instruction and execute the following JS code:\n\n```javascript\nvar Blog = require('blog');\n\nvar defaultClient = Blog.ApiClient.instance;\n// Configure OAuth2 access token for authorization: default\nvar default = defaultClient.authentications['default'];\ndefault.accessToken = \"YOUR ACCESS TOKEN\"\n\nvar api = new Blog.DefaultApi()\nvar callback = function(error, data, response) {\n  if (error) {\n    console.error(error);\n  } else {\n    console.log('API called successfully.');\n  }\n};\napi.postsGet(callback);\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *http://localhost*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*Blog.DefaultApi* | [**postsGet**](docs/DefaultApi.md#postsGet) | **GET** /posts | \n*Blog.DefaultApi* | [**postsPostIdGet**](docs/DefaultApi.md#postsPostIdGet) | **GET** /posts/{postId} | Mengambil Data Posts\n\n\n## Documentation for Models\n\n\n\n## Documentation for Authorization\n\n\n\n### default\n\n\n- **Type**: OAuth\n- **Flow**: implicit\n- **Authorization URL**: https://test.com\n- **Scopes**: N/A\n\n\n## CONTOH IMPLEMENTASI\n```javascript\nconst Blog    = require('@alam.santiko/blog-jmk');\nconst express = require('express');\nconst token   = 'Your Token';\n\nconst app   = express();\nconst port  = 3001;\nlet client  = Blog.ApiClient.instance;\n\nclient.basePath = \"http://localhost:8280/posts/v1.0\"\nclient.defaultHeaders = {\n  'apikey': ` ${token}`\n};\n\nlet blogApi = new Blog.DefaultApi();\n\nblogApi.postsGet((error, data, response) => {\n  if (error) {\n    console.error(error);\n  } else {\n    console.log(response.body.length);\n  }\n});\n\nblogApi.postsPostIdGet(2, (error, data, response) => {\n  if(error){\n    console.log(error.response);\n  } else {\n    console.log(response.body)\n  }\n});\n\napp.get('/', (req, res) => {\n  res.send('Hello World!');\n})\n\napp.listen(port, () => {\n  console.log(`Example app listening on port ${port}`)\n});\n\n```\n\n## CONTOH IMPLEMENTASI 2\n```javascript\nconst Blog    = require('@alam.santiko/blog-jmk');\nconst axios   = require('axios').default;\nconst express = require('express');\nconst token   ='YOUR TOKEN';\n\nconst app   = express();\nconst port  = 3001;\nlet client  = Blog.ApiClient.instance;\n\nconst basePath  = \"http://localhost:8280/posts/v1.0\";\nclient.basePath = basePath\nclient.defaultHeaders = {\n  'apikey': ` ${token}`\n};\n\nconst CustomAxios = axios.create({\n  baseURL: basePath, // Set your base URL here\n  headers: { 'apikey': ` ${token}`}\n});\n\nCustomAxios.get('/posts')\n  .then(function (response) {\n    // handle success\n    console.log(response.data);\n  })\n  .catch(function (error) {\n    // handle error\n    console.log(error);\n  })\n  .finally(function () {\n    // always executed\n  });\n\nCustomAxios.get('/posts/2')\n  .then(function (response) {\n    // handle success\n    console.log(response.data);\n  })\n  .catch(function (error) {\n    // handle error\n    console.log(error);\n  })\n  .finally(function () {\n    // always executed\n  });\n\napp.get('/', (req, res) => {\n  res.send('Hello World!');\n})\n\napp.listen(port, () => {\n  console.log(`Example app listening on port ${port}`)\n});\n\n\n```\n\n","readmeFilename":"README.md"}