npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ncloud-server

v1.4.8

Published

server client library for Naver Cloud Platform

Downloads

17

Readme

ncloud-server

Installation

For Node.js

npm

npm install ncloud-server --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file, that's to say your javascript file where you actually use this library):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var Server = require('ncloud-server');

var client = new Server.ApiClient({
  accessKey: 'your access key',
  secretKey: 'your secret key',
});

var apiInstance = new Server.V2Api(client)

var addNasVolumeAccessControlRequest = new Server.AddNasVolumeAccessControlRequest(); // {AddNasVolumeAccessControlRequest} addNasVolumeAccessControlRequest


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.addNasVolumeAccessControl(addNasVolumeAccessControlRequest, callback);

Documentation for API Endpoints

All URIs are relative to https://ncloud.apigw.ntruss.com/server/v2

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- Server.V2Api | addNasVolumeAccessControl | POST /addNasVolumeAccessControl | Server.V2Api | addPortForwardingRules | POST /addPortForwardingRules | Server.V2Api | associatePublicIpWithServerInstance | POST /associatePublicIpWithServerInstance | Server.V2Api | attachBlockStorageInstance | POST /attachBlockStorageInstance | Server.V2Api | attachNetworkInterface | POST /attachNetworkInterface | Server.V2Api | changeBlockStorageVolumeSize | POST /changeBlockStorageVolumeSize | Server.V2Api | changeNasVolumeSize | POST /changeNasVolumeSize | Server.V2Api | changeServerInstanceSpec | POST /changeServerInstanceSpec | Server.V2Api | createBlockStorageInstance | POST /createBlockStorageInstance | Server.V2Api | createBlockStorageSnapshotInstance | POST /createBlockStorageSnapshotInstance | Server.V2Api | createInstanceTags | POST /createInstanceTags | Server.V2Api | createLoginKey | POST /createLoginKey | Server.V2Api | createMemberServerImage | POST /createMemberServerImage | Server.V2Api | createNasVolumeInstance | POST /createNasVolumeInstance | Server.V2Api | createNetworkInterface | POST /createNetworkInterface | Server.V2Api | createPublicIpInstance | POST /createPublicIpInstance | Server.V2Api | createServerInstances | POST /createServerInstances | Server.V2Api | deleteBlockStorageInstances | POST /deleteBlockStorageInstances | Server.V2Api | deleteBlockStorageSnapshotInstances | POST /deleteBlockStorageSnapshotInstances | Server.V2Api | deleteInstanceTags | POST /deleteInstanceTags | Server.V2Api | deleteLoginKey | POST /deleteLoginKey | Server.V2Api | deleteMemberServerImages | POST /deleteMemberServerImages | Server.V2Api | deleteNasVolumeInstance | POST /deleteNasVolumeInstance | Server.V2Api | deleteNetworkInterface | POST /deleteNetworkInterface | Server.V2Api | deletePortForwardingRules | POST /deletePortForwardingRules | Server.V2Api | deletePublicIpInstances | POST /deletePublicIpInstances | Server.V2Api | detachBlockStorageInstances | POST /detachBlockStorageInstances | Server.V2Api | detachNetworkInterface | POST /detachNetworkInterface | Server.V2Api | disassociatePublicIpFromServerInstance | POST /disassociatePublicIpFromServerInstance | Server.V2Api | getAccessControlGroupList | POST /getAccessControlGroupList | Server.V2Api | getAccessControlGroupServerInstanceList | POST /getAccessControlGroupServerInstanceList | Server.V2Api | getAccessControlRuleList | POST /getAccessControlRuleList | Server.V2Api | getBlockStorageInstanceList | POST /getBlockStorageInstanceList | Server.V2Api | getBlockStorageSnapshotInstanceList | POST /getBlockStorageSnapshotInstanceList | Server.V2Api | getInitScriptList | POST /getInitScriptList | Server.V2Api | getInstanceTagList | POST /getInstanceTagList | Server.V2Api | getLoginKeyList | POST /getLoginKeyList | Server.V2Api | getMemberServerImageList | POST /getMemberServerImageList | Server.V2Api | getNasVolumeInstanceList | POST /getNasVolumeInstanceList | Server.V2Api | getNasVolumeInstanceRatingList | POST /getNasVolumeInstanceRatingList | Server.V2Api | getNetworkInterfaceList | POST /getNetworkInterfaceList | Server.V2Api | getPortForwardingRuleList | POST /getPortForwardingRuleList | Server.V2Api | getPrivateSubnetInstanceList | POST /getPrivateSubnetInstanceList | Server.V2Api | getPublicIpInstanceList | POST /getPublicIpInstanceList | Server.V2Api | getPublicIpTargetServerInstanceList | POST /getPublicIpTargetServerInstanceList | Server.V2Api | getRaidList | POST /getRaidList | Server.V2Api | getRegionList | POST /getRegionList | Server.V2Api | getRootPassword | POST /getRootPassword | Server.V2Api | getRootPasswordServerInstanceList | POST /getRootPasswordServerInstanceList | Server.V2Api | getServerImageProductList | POST /getServerImageProductList | Server.V2Api | getServerInstanceList | POST /getServerInstanceList | Server.V2Api | getServerProductList | POST /getServerProductList | Server.V2Api | getZoneList | POST /getZoneList | Server.V2Api | importLoginKey | POST /importLoginKey | Server.V2Api | rebootServerInstances | POST /rebootServerInstances | Server.V2Api | recreateServerInstance | POST /recreateServerInstance | Server.V2Api | removeNasVolumeAccessControl | POST /removeNasVolumeAccessControl | Server.V2Api | replaceServerInstanceAssociatedWithPublicIp | POST /replaceServerInstanceAssociatedWithPublicIp | Server.V2Api | setNasVolumeAccessControl | POST /setNasVolumeAccessControl | Server.V2Api | startServerInstances | POST /startServerInstances | Server.V2Api | stopServerInstances | POST /stopServerInstances | Server.V2Api | terminateServerInstances | POST /terminateServerInstances |

Documentation for Models

License

Copyright 2018 NAVER BUSINESS PLATFORM Corp.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.