{"_id":"@alicloud/ots2","_rev":"42-eab35787de0f3607a8e05fe48d410a03","name":"@alicloud/ots2","description":"OTS(2015-12-31) client for Node.js(ES6)","dist-tags":{"latest":"2.1.0"},"versions":{"1.3.0":{"name":"@alicloud/ots2","version":"1.3.0","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./lib/client.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"~4.0.0"},"devDependencies":{"istanbul":"^0.3.17","expect.js":"^0.3.1","co-mocha":"^1.1.2","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec"],"gitHead":"b1a3eba17d8d95f1d1ed5c614c748616a46f10f7","_id":"@alicloud/ots2@1.3.0","_shasum":"3e26a37bb608d644676196e67715a33353d5b563","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"shasum":"3e26a37bb608d644676196e67715a33353d5b563","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-1.3.0.tgz","integrity":"sha512-ODtdap1bW12iQPUVAHS+dSSfCw4yRmy81Vw8uoyDKTg/ElbayHrZbVM5KT0+88z4l0GalfWYt7ch2m5Qsyg/qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC98lsF8rmqn90Oth71QED+6wSnLjxG/II+eXlj1JtyVgIhALPyQLYOvT5MJ+HZ4MhcUfYwtkN+hJ0hrGA6LFnOE9jk"}]},"maintainers":[{"name":"jacksontian","email":"shyvo1987@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ots2-1.3.0.tgz_1484119582444_0.2531028622761369"}},"1.3.1":{"name":"@alicloud/ots2","version":"1.3.1","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./lib/client.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"~4.0.0"},"devDependencies":{"istanbul":"^0.3.17","expect.js":"^0.3.1","co-mocha":"^1.1.2","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec"],"gitHead":"7547a883baad073e1f185cd5217d38a697b368c5","_id":"@alicloud/ots2@1.3.1","_shasum":"e9ea9a3e5d649212d74f754399a36ced6b109ff0","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"shasum":"e9ea9a3e5d649212d74f754399a36ced6b109ff0","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-1.3.1.tgz","integrity":"sha512-w3Ea/5rGfir85KHzSe5NK2MyF20TqYA0Z3CiQ8xjgGfUjJvkFjj1mi3NziWCugdN/KOxubxDrOToovg+9PpbbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCWYB1ZxMCtdjhs9qKhwY7R5mLK8XTHxlyGUiCnMcVlwIhAMZfVweKy0h+RcoINWUaUdxU6t7Ec862QJf35CpNp+Nr"}]},"maintainers":[{"name":"jacksontian","email":"shyvo1987@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ots2-1.3.1.tgz_1484705979319_0.6310459433589131"}},"1.4.0":{"name":"@alicloud/ots2","version":"1.4.0","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./lib/client.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"co-mocha":"^1.1.2","expect.js":"^0.3.1","istanbul":"^0.3.17","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec"],"gitHead":"3327490c334274292967723c86e9756e0d84351f","_id":"@alicloud/ots2@1.4.0","_shasum":"e24948316e4a748fde510b3a34eb3b414944df11","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"shasum":"e24948316e4a748fde510b3a34eb3b414944df11","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-1.4.0.tgz","integrity":"sha512-zqIXPY4KSeeL8JPbAppjTgJF+h1XgTRGQpj1EjUd7Rpg013Ui0iQjnpC2qw8bQ0+vZRe47jvcYoWgoj0E12mxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnBGMf3m8t05LsdRjIFJJ5HYexb/w2jXDRuGD1EWsIgQIhAKL7Nao7jYooZ6c16RGRBuc++mCU9xv8GT7xIU+1MC63"}]},"maintainers":[{"name":"jacksontian","email":"shyvo1987@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ots2-1.4.0.tgz_1484732174649_0.7730964331422001"}},"1.5.0":{"name":"@alicloud/ots2","version":"1.5.0","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"co-mocha":"^1.1.2","expect.js":"^0.3.1","istanbul":"^0.3.17","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec"],"gitHead":"d9d13122f3b068fe3a976be3e218b53120c51fbb","_id":"@alicloud/ots2@1.5.0","_shasum":"7bd7cb3304955ecfccb670e9615791d61eff3063","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"shasum":"7bd7cb3304955ecfccb670e9615791d61eff3063","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-1.5.0.tgz","integrity":"sha512-/TH1H1XP7afIdR4bPzGqIOyv3MxJB3ovINf+MROKTJA0g+TdsA6iBVPCV+0mJ0Q9zoa0w/xFyHQIjwvBnUViyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHItFKsQMH7NaS57eJRwfqKZd8GrqoIuSyUh8NoWWGfyAiEA3+FPidPcR7m+m7iBE7WrqfSQ4oDaZGBiW7jRdOji1G8="}]},"maintainers":[{"name":"jacksontian","email":"shyvo1987@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ots2-1.5.0.tgz_1484757893793_0.7152520315721631"}},"1.5.1":{"name":"@alicloud/ots2","version":"1.5.1","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"co-mocha":"^1.1.2","expect.js":"^0.3.1","istanbul":"^0.3.17","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec"],"gitHead":"f677d9ae774296580d87066ccc1e18a5b663c2b2","_id":"@alicloud/ots2@1.5.1","_shasum":"33a6089ba77757659ef1f21eedd515ac0c515274","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"shasum":"33a6089ba77757659ef1f21eedd515ac0c515274","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-1.5.1.tgz","integrity":"sha512-6NEHQd0N/4Jk190tZvnKbpZ9qi0C18EHwchFHvma2vWx8g6axxIfHn8i61yFzNVm3V4m12paj3KTc5LCTiLYAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHUGDw6jxsNAo4d7ZOTJVOo1hllmWgojhBafK0H3rIWnAiAlJ1BnpoTHM9WmSndjMNoNOEptldqX6wDesmShNGlbsw=="}]},"maintainers":[{"name":"jacksontian","email":"shyvo1987@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ots2-1.5.1.tgz_1484762231225_0.047529532574117184"}},"1.5.2":{"name":"@alicloud/ots2","version":"1.5.2","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"co-mocha":"^1.1.2","expect.js":"^0.3.1","istanbul":"^0.3.17","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec","index.js"],"gitHead":"4c4b22a9cb843edd3291b173cb960ecb4c3bcdaa","_id":"@alicloud/ots2@1.5.2","_shasum":"b72f7aa7a68173fcab00cd8c8fe33b0c55aef874","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"shasum":"b72f7aa7a68173fcab00cd8c8fe33b0c55aef874","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-1.5.2.tgz","integrity":"sha512-pjnE3vNcYPGia5h2NXUdeGSJ7gdC44bL3v3uLcKxGKZuTDBzf+qT03ZNuYm43uDbD1PXoI6mdvTGjyZDzvIH6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFh6iVPPphZQ74GRF84zYiZbOCAMRqLLI/fncRDqbGrIAiEAltaJsNwVv5xm9VBzMzUI+LxOtuPeUahf6s3lXOXWhHc="}]},"maintainers":[{"name":"jacksontian","email":"shyvo1987@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ots2-1.5.2.tgz_1486460345422_0.5794976847246289"}},"1.5.3":{"name":"@alicloud/ots2","version":"1.5.3","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"co-mocha":"^1.1.2","expect.js":"^0.3.1","istanbul":"^0.3.17","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec","index.js"],"gitHead":"a7802a943113f996d5117c6469ed25edc9c21b3b","_id":"@alicloud/ots2@1.5.3","_shasum":"84f905767dd2ce5ae632e2f4a6e3378bb3acac0b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"shasum":"84f905767dd2ce5ae632e2f4a6e3378bb3acac0b","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-1.5.3.tgz","integrity":"sha512-P3qHo/lAHLy0z9eGCV8ajEKR4lSwveqXEBxIymEcYMJy4bh3tzvtrjfk2GPfpzd5NPmNCehylYWrTtfQlt9eTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjdgKwZ3lmtQdMoF0WLBMMSqYZYMEPhVcmPJH8XvoCLgIgBu0tF5dbPKrJTH/jBeIWaGlCOwDg4NALYPitACOjHvY="}]},"maintainers":[{"name":"jacksontian","email":"shyvo1987@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ots2-1.5.3.tgz_1488562622779_0.8673833922948688"}},"1.5.4":{"name":"@alicloud/ots2","version":"1.5.4","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"co-mocha":"^1.1.2","expect.js":"^0.3.1","istanbul":"^0.3.17","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec","index.js"],"gitHead":"af844d2b6ca811664afd28dd3f875353da6debaa","_id":"@alicloud/ots2@1.5.4","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"integrity":"sha512-PoewZLykj7kAjUUQ7Ywx2lwm+DoIeIFK1G4aEUgvXGqlBMseMBlq166dxS5XobUFEqk37GUKn1Lq1OZsGmjWZw==","shasum":"4c59b419f4d1f400cf6417f72593e6398ae99359","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-1.5.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFgeSlDea7dxHMWKOFxsjQlkMuHLWuaoyonHfa1CL4jrAiEAxaD1r3fsw6pBoMf5WX4ZkKNbGzDn77PkKqJg7EtS7sg="}]},"maintainers":[{"email":"rockuw@gmail.com","name":"rockuw"},{"email":"halfthink@gmail.com","name":"humanhuang"},{"email":"shyvo1987@gmail.com","name":"jacksontian"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ots2-1.5.4.tgz_1496305309629_0.5066336984746158"}},"1.5.5":{"name":"@alicloud/ots2","version":"1.5.5","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"co-mocha":"^1.1.2","expect.js":"^0.3.1","istanbul":"^0.3.17","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec","index.js"],"gitHead":"b7c8d1253477b399d10c132d6febf3b3e55fecc0","_id":"@alicloud/ots2@1.5.5","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"integrity":"sha512-+E0wXJLIiFj1jUSDI2/8Lgw4BJpr03YyvqKjY4c3Jj/VrmyW82HA+NYLo6Day3wL8ib41+0U/niNvIDI1SoLuQ==","shasum":"94caaa6bc2e675bbfaec268058a8ebf0f94cdd24","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-1.5.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICS+Q6TEaQMrrC+WvLJidP/DEnH1kaXZLA2Gq3un5+HVAiEA/28h6l+onWPZQbTvno2lATvEZroMkCk4h4d2cNDTGWQ="}]},"maintainers":[{"email":"kunqian434@gmail.com","name":"chuck.ql"},{"email":"rockuw@gmail.com","name":"rockuw"},{"email":"halfthink@gmail.com","name":"humanhuang"},{"email":"shyvo1987@gmail.com","name":"jacksontian"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ots2-1.5.5.tgz_1506360154175_0.952228321461007"}},"1.5.6":{"name":"@alicloud/ots2","version":"1.5.6","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"co-mocha":"^1.1.2","expect.js":"^0.3.1","istanbul":"^0.3.17","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec","index.js"],"gitHead":"b907adb8f958f3e8adb098e419dd429d7f1fa376","_id":"@alicloud/ots2@1.5.6","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"integrity":"sha512-3qhqRPvHTaevl7t8s90XEGy5QT7kmGskLnxS/OuvEBi7gAWZezyY74L/WAvw+kje9ZwbmDFYox8MwgKDhbKG+A==","shasum":"324231f91e01a695f85b06ee21a01acb328652ea","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-1.5.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNiQAXxIfnXSt4VJvstagNppXOCv712of7ETEDCaZQQAiEA7WveWqGuEVWVAK1cP6+T85JlV3CDmlker3HAtkG6B30="}]},"maintainers":[{"email":"ls_huster@163.com","name":"ls_nodejs"},{"email":"halfthink@gmail.com","name":"humanhuang"},{"email":"shyvo1987@gmail.com","name":"jacksontian"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ots2-1.5.6.tgz_1516691954415_0.11299467366188765"}},"2.0.0-beta1":{"name":"@alicloud/ots2","version":"2.0.0-beta1","description":"OTS(2015-12-31) client for Node.js(ES7)","main":"./index","directories":{"test":"test"},"scripts":{"test":"mocha -R spec test/*.test.js","test-file":"mocha -R spec","test-cov":"nyc --reporter=html --reporter=text mocha -R spec test/*.test.js"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^4.0.1","nyc":"^11.2.1"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","files":["lib","spec","index.js"],"gitHead":"fedaf2a52571787295791bc26093cbf85ce7c856","_id":"@alicloud/ots2@2.0.0-beta1","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"integrity":"sha512-tJSvDT4ficU3At994R/fiHGhnzvlRQm+Q7IMv84eQVUezlDnAOKQ/VUkwm0QEK5WxAf1CzrkNTKSO3aVhNSJGg==","shasum":"08fd48f4187751475759c4b0686b9b88f54cccbc","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-2.0.0-beta1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZ4Y0lFFBOIpizwrkn1lv1uGIv0rBnbuDRMY6pE2H8/AIgHTUKAWF94qlgwfgJHlYhJTaX0Fco8I23wA6UMcaKkEw="}]},"maintainers":[{"email":"ls_huster@163.com","name":"ls_nodejs"},{"email":"halfthink@gmail.com","name":"humanhuang"},{"email":"shyvo1987@gmail.com","name":"jacksontian"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ots2-2.0.0-beta1.tgz_1517212352232_0.7668474472593516"}},"2.0.0":{"name":"@alicloud/ots2","version":"2.0.0","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"lint":"eslint --fix lib/ test/","test":"mocha -R spec test/*.test.js","test-file":"mocha -R spec","test-cov":"nyc --reporter=html --reporter=text mocha -R spec test/*.test.js"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^4.0.1","nyc":"^11.2.1"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","gitHead":"441927fd38bd3b04a38e071e9f750c8f066d39f8","_id":"@alicloud/ots2@2.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-2vmtEdE9kMLYQMo0ltWeuGII+lItONVuJX6XdmnYCw7DLYeHOj/ykMNZHc/ooGxiSzKMe/usNljA+SYT00K++A==","shasum":"31c43c7be3cf91184ce6d26e74808c45acd9b409","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-2.0.0.tgz","fileCount":14,"unpackedSize":61552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaKAsCRA9TVsSAnZWagAArlUQAKAzP0L6++u2h+kq1epb\nDYEMuiOB6xaUSw7L+X0Sb1i3Y9s4zCuFOy+Dvfw9zlcJk8l4KIaXplp6Qeg8\nT5zw5e1SrnwTD676NZmN/h9flgQLRaOtT+r7j9ab0hLesDIiMuSpn4yKpB79\nhX0E36xSPb9g8ZUxEXx6TI/vNmQwzjuqZzL33w/OeKYi6wu0v34CyozLt6Jr\n3Teths2f1JzIqSlW3j8ifGKjSOqHm6q6hxCjyFPyGg30hAArMdZC3AWp1v0h\nlwy/ZO3duU8zVeYpeX8HocT7AOL+qqlAWrKkPzcWzHzo7241ACQG6zdhk/a1\nu82/uJuFgaCcqJWk3Xx7ukFsnyOCf4GhsmDF6epFxIBkSlgV5bIzhXynJQ8q\n5gYfaa0dkTOJ6z8WlkxkTvu8xb1jKZXPctzI+2u5uSdhYGYPMx9VGr+JeGBT\nX3Vx+sjbEVORNaFCSTP0Tb7WheBwaWeE3wQKirn0QI5IVck820FquPSJlbe+\nQZBbUlTkXTX+J9x7Qcu8msi6GnUvL5DHdA9z3KQ4kXtoiWAcs/Os+spGRxYN\nL26gaRsL7WUsw1SiMYWZQyCoV5Gu4kVqyBLaGS66Oulk92MeEBY4YdBEZfpF\n5/uK3/UVap5CQjrTLCJWn9Xs8seH/lOqdM6w4LaJnQOtomv9aCbvXYVViHVM\nbNvp\r\n=Y17O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRzV/9OyQISLhcooiBBq64f3ryjA81+Cl3bjsi9GdLWgIgR25jOl1d3JWdiCjGwwyllkwCeWrA0cxL6P2fbMlGB9s="}]},"maintainers":[{"email":"aleelock@126.com","name":"aleelock"},{"email":"191984292@qq.com","name":"cici503"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"halfthink@gmail.com","name":"humanhuang"},{"email":"shyvo1987@gmail.com","name":"jacksontian"},{"email":"ls_huster@163.com","name":"ls_nodejs"},{"email":"xiayule148@gmail.com","name":"tanhe123"},{"email":"duwan@live.com","name":"vangie"},{"email":"linzegia@gmail.com","name":"zack-lin"}],"_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ots2_2.0.0_1567137836188_0.02236756281737562"},"_hasShrinkwrap":false},"2.0.1":{"name":"@alicloud/ots2","version":"2.0.1","description":"OTS(2014-08-08) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"lint":"eslint --fix lib/ test/","test":"mocha -R spec test/*.test.js","test-cov":"nyc -r=html -r=text -r=lcov mocha -t 3000 -R spec test/*.test.js","test-integration":"mocha -R spec test/*.integration.js","ci":"npm run lint && npm run test-cov && codecov"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"codecov":"^3.5.0","eslint":"^6.2.2","expect.js":"^0.3.1","mocha":"^4.0.1","nyc":"^11.2.1"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","gitHead":"6204ee2d89b353a6191f00d88d92671438f099d5","_id":"@alicloud/ots2@2.0.1","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-4cFNcG0gDcE0/tY3kTqlgjsV1VxtAzaO9EjYEvRGmNBOcxHAB7FsEofrsWlrZ3OzhAbPRCzaou+oGr0J/bH/XA==","shasum":"c89ed4b6f4a24d2d22151ed207ccc6977a755b52","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-2.0.1.tgz","fileCount":14,"unpackedSize":62239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaMblCRA9TVsSAnZWagAAFNoP/1RiKVgkE2FvH2GRP6+C\nGYOnVyQKIkWBEgCYsK2TLBaOaa8Akrpp6qHfFPiRdoHk101k4BQauKOX2O8x\naoAkJhM+1wiENY727D8wjIey2n1p7Z2F3bOZlyyw0lExZXsowDtFCtNtixVl\np8zfkOQ/i8bwp8vU/DfnaH4u/XL9xO9yUSmhQDEVJztMU3jqxtevd1SZiQxk\nNCA1mNoOyc8peXciTOHguryLTO2av2Jr+qGYAk1CX04exwSap3CVYhZSUVAk\n6auljBUdOO428lKIaqoPi62KJlN1CGIQPeIIscujsKtGZbozaqJtRXsD/AWV\niA+swXcq42tMWBB72X3lfAsNWqsPNR6IC2hjajQ4/eCMzE4ElppLPbM+1Qgw\n170rn5RkM4e37P9z0I7sfuUSkcxwbejPGUgPdHg9FwygDnT21F2YEH3IHHtc\nFpBp/7AU+G/955O538kvqu4nf0jEzrwhBqdi5oll3F52ThXXBBcYWS86a14U\nL8rEGw5nuB2pSCq3dfbMqdf0W6JE2bCOdwHNoJ3DbLEE5KidlCSEKL8JPx/i\nxmRao8+2AcrHQE9CWwU/CKexIIOu047I1JeRqxnyrT4xAsTVnyznKG+MXeJH\nz663ksMSgCdT6B+sOcFrHuAN3xQq+BnU4yDWdRIiI7v7i6glm/9o/r7qQN0z\nW3uI\r\n=5JWl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKGK89cnMG0b0i78q7+xbUloX0d1D5aypkpolKSGQQWwIhAIoF2nWlzAp0a0dYwbFG3bkPpH7zINKsf+zClbHsrM83"}]},"maintainers":[{"email":"aleelock@126.com","name":"aleelock"},{"email":"191984292@qq.com","name":"cici503"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"halfthink@gmail.com","name":"humanhuang"},{"email":"shyvo1987@gmail.com","name":"jacksontian"},{"email":"ls_huster@163.com","name":"ls_nodejs"},{"email":"xiayule148@gmail.com","name":"tanhe123"},{"email":"duwan@live.com","name":"vangie"},{"email":"linzegia@gmail.com","name":"zack-lin"}],"_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ots2_2.0.1_1567147748923_0.7381423598600028"},"_hasShrinkwrap":false},"2.0.2":{"name":"@alicloud/ots2","version":"2.0.2","description":"OTS(2015-12-31) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"lint":"eslint --fix lib/ test/","test":"mocha -R spec test/*.test.js","test-cov":"nyc -r=html -r=text -r=lcov mocha -t 3000 -R spec test/*.test.js","test-integration":"mocha -R spec test/*.integration.js","ci":"npm run lint && npm run test-cov && codecov"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"codecov":"^3.5.0","eslint":"^6.2.2","expect.js":"^0.3.1","mocha":"^4.0.1","nyc":"^11.2.1"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","gitHead":"f9378bc4612041ba8caeeb151548fcc7ac74602d","_id":"@alicloud/ots2@2.0.2","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-H3XPjy8X6oKgFJjLeyOE2tSSe6jlvezPuYzom6vPolY92uuvRTaqwPEsMcdH+x4yRkFIZja0GBdel2pftwmQKg==","shasum":"972e4baa9115788893385e7839837ff0d9016ea8","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-2.0.2.tgz","fileCount":14,"unpackedSize":62429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaN4uCRA9TVsSAnZWagAAHE0P/iomsoNMtSehxGMuQWWc\n9hVTxRnOP/QT+qP6rd+AVugTd4ZuIjoIkcqe4sDl+QSW8uaLpCDlmLA3TyEe\nQxHM0X/rD2IpatlgbxDrdQe+4y3azDvBS2OgqTWt/JKRxaMSu+FagrOyZsSp\ncp274fKh4lMLYGfk52G025rlvDw2PwmOUPlEXKBTuwjtioo7nthanFX/0WzD\nIGkDpyeuNz7x7yhIxLoVzrZRj7FbdlYbr77E3daQ/zyr1i92g3bYzrRXU3ob\neOlItBaBDJ3+3Dvrkrk5g52hlCD9Ci+JH7BMNoqUeFHfhPDB7dy7dqedUb8/\n05a0v5lnSWrE31KyV5w3aHirH2+0N79ao8WGq70KrX/pc03QUSTCH4yXNDWw\nVvBQSz045gB/wqNiwIA8zOI6PcZjIWQ0qll7qN/vQsK1AxCGRrx83Q8A79hd\ncEsuwXSKGMPphEt+dW6uA4umzM3ESUcmPVQ7epKbZcg1RQzhga4TlVlemQJn\nQPibl2BmQ3eZUj4dbt+xwVWg5bi8JszcVyZHAlXqQ/tJ/pB93f9iplYOh3UV\n0NU+Hpu7lPI2D+qkMWlqQ1Vtz7xUQJ1++Y8jBumi+DAdySrt7soklB2GYl0p\nHipPL8CcItUbEURBQzHWX+LxDCqCYEgET4DcFazOjGIMuom613vQTqVKjwS1\nWU+I\r\n=KKC+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQCJPXoWduP6AIEl16ZucC+eYTRtUFncq9VO8cp6DH6ktAIfd1W0zBnRIWCyVY2evo+3CNs2Xi3cnoXEaAJ1YHPkQA=="}]},"maintainers":[{"email":"aleelock@126.com","name":"aleelock"},{"email":"191984292@qq.com","name":"cici503"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"halfthink@gmail.com","name":"humanhuang"},{"email":"shyvo1987@gmail.com","name":"jacksontian"},{"email":"ls_huster@163.com","name":"ls_nodejs"},{"email":"xiayule148@gmail.com","name":"tanhe123"},{"email":"duwan@live.com","name":"vangie"},{"email":"linzegia@gmail.com","name":"zack-lin"}],"_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ots2_2.0.2_1567153709495_0.03633227821973328"},"_hasShrinkwrap":false},"2.1.0":{"name":"@alicloud/ots2","version":"2.1.0","description":"OTS(2015-12-31) client for Node.js(ES6)","main":"./index","directories":{"test":"test"},"scripts":{"lint":"eslint --fix lib/ test/","test":"mocha -R spec test/*.test.js","test-cov":"nyc -r=html -r=text -r=lcov mocha -t 3000 -R spec test/*.test.js","test-integration":"mocha -R spec test/*.integration.js","ci":"npm run lint && npm run test-cov && codecov"},"author":{"name":"Jackson Tian"},"license":"MIT","dependencies":{"debug":"^2.2.0","httpx":"^2.0.0","kitx":"^1.1.0","protobufjs":"^5.0.0","pegjs":"^0.10.0"},"devDependencies":{"codecov":"^3.5.0","eslint":"^6.2.2","expect.js":"^0.3.1","mocha":"^4.0.1","nyc":"^11.2.1"},"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"keywords":["OTS","OTS2","Aliyun"],"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"homepage":"https://github.com/ali-sdk/ots2#readme","gitHead":"8eef4435526b6d738f327bb806feafe8861ad5d2","_id":"@alicloud/ots2@2.1.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-3/qjMmjx6TnhEEDNYpgfjw/yy/YcSd7VzHqc+CxGoxMtcJflMXH9WLJScwTFg8eLcoMdb5VJjI1aeOtv8O9vOg==","shasum":"67c87082d13c0a93474bf955df7174fc49f19b0e","tarball":"https://registry.npmjs.org/@alicloud/ots2/-/ots2-2.1.0.tgz","fileCount":14,"unpackedSize":62359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaO88CRA9TVsSAnZWagAAH/oQAJaH8p1vn2YR3nRyXBUh\nB9lmJXVTQiyyH2cBD5mbSiFwMW9/Kzd3wNMM/DrrRLnDW7bhG7Y+L/4ASRdl\nhPz8/bDYYehQXgDeoyvEstwecV+0N5n7Iz6PgPVuF6no9lNGasuStkf92DsD\nQ4eFTJYY+rmQUlbwr/UBpDKFHXI3pZMK1TocDdDFxdUcmrr+VdaSe96hUfPM\n46sBaBoiOoy/sDoI0/AtdyAo082bEm9GolrEOEO6BEu8i7uEZA54AG8aQ8Cv\nDLHSJ8TPA3ZwYuAfzhowXeNiSspiLz2fE6RO4JwOxzYfHBfC2zs3jS11t6vq\njBgehs0QFacdC9eotoNsapsrMl9rFRq5tiux1oEsly45hwefz9Wm/pwmieh9\n3xJlOFu1cEiQLn03KEwWi9e9sxQM1irvwc43MNlAUa7SeW4rvL5Lg/3f1mOX\n3SRzRgZsRbcMmYcFh19u0F7SKKLBCcuXvdzj8PYiqbBi8K+anmePm2t0m+7L\nrmk5hXR01VPfFjxnJKF1fecfH9TAF507Xe8LyL0ZhHGfgdl9+/FA3timz2BS\n62jIRsuGRXTWa1T5gtpHdHLjs8TjktUJPDDMXCUn41pfNDjDIIT3U5sUuXOp\n6JnFaGRE9bQAXEf1r2TGe/EPa9pD077Opuyq25UYpWHW05508H67O4z39smB\n58GZ\r\n=SAuZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWvmNcYAVl7032/2bGTsbzYc/8tCzOVdPP1ZbBgqNnmAiADUXkMv0lS4FZ/w3yKAOZ5ILB8KefmiMpFHNo8Y5LM8A=="}]},"maintainers":[{"email":"aleelock@126.com","name":"aleelock"},{"email":"191984292@qq.com","name":"cici503"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"halfthink@gmail.com","name":"humanhuang"},{"email":"shyvo1987@gmail.com","name":"jacksontian"},{"email":"ls_huster@163.com","name":"ls_nodejs"},{"email":"xiayule148@gmail.com","name":"tanhe123"},{"email":"duwan@live.com","name":"vangie"},{"email":"linzegia@gmail.com","name":"zack-lin"}],"_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ots2_2.1.0_1567158075884_0.6196590500863073"},"_hasShrinkwrap":false}},"readme":"Aliyun OTS client for Node.js(ES6)\n==================================\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![codecov][cov-image]][cov-url]\n\n[npm-image]: https://img.shields.io/npm/v/@alicloud/ots2.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@alicloud/ots2\n[travis-image]: https://img.shields.io/travis/ali-sdk/ots2/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/ali-sdk/ots2\n[cov-image]: https://codecov.io/gh/ali-sdk/ots2/branch/master/graph/badge.svg\n[cov-url]: https://codecov.io/gh/ali-sdk/ots2\n\nAliyun OTS数据库服务Node.js客户端。\n\n## OTS介绍\nOTS是构建在阿里云飞天分布式系统之上的NoSQL数据库服务，提供海量结构化数据的存储和实时访问。OTS以实例和表的形式组织数据，通过数据分片和负载均衡技术，达到规模的无缝扩展。OTS向应用程序屏蔽底层硬件平台的故障和错误，能自动从各类错误中快速恢复，提供非常高的服务可用性。OTS管理的数据全部存储在SSD中并具有多个备份，提供了快速的访问性能和极高的数据可靠性。用户在使用OTS服务时，只需要按照预留和使用的资源进行付费，无需关心数据库的软硬件升级维护、集群缩容扩容等复杂问题。\n\n更多细节请参见：<https://help.aliyun.com/product/27278.html>\n\n## 安装\n\n```sh\n$ npm install @alicloud/ots2 --save\n```\n\n## 使用\n\n### 创建客户端\n```js\nconst ots = require('@alicloud/ots2');\nvar client = ots.createClient({\n  accessKeyID: '<YOUR ACCESSKEYID>',\n  accessKeySecret: '<YOUR ACCESSKEYSECRET>',\n  instance: '<YOUR INSTANCE>',\n  region: '<YOUR REGION>',\n  keepAliveMsecs: 1000, // default 1000\n  timeout: 3000 // default 3000ms\n});\n```\n\n### 调用API\n\n详细API文档请参见：<http://doxmate.cool/ali-sdk/ots2/index.html>\n\n所有表的操作\n```js\n// 列出所有表名\nawait client.listTable();\n// 创建表\nvar keys = [{ 'name': 'uid', 'type': 'STRING' }];\n// 若实例为‘容量型’，read 和 write 值必须为0，否则会报错 OTSParameterInvalidError: Can not reserve read capacity unit on capacity cluster\nvar capacityUnit = {read: 0, write: 0};\nvar options = {\n  table_options: {\n    time_to_live: -1,// 数据的过期时间, 单位秒, -1代表永不过期. 假如设置过期时间为一年, 即为 365 * 24 * 3600.\n    max_versions: 1\n  }\n};\nvar response = await client.createTable('metrics', keys, capacityUnit, options);\n// 更新表\nvar capacityUnit = {read: 2, write: 1};\nvar response = await client.updateTable('metrics', capacityUnit);\n// 查看表信息\nvar response = await client.describeTable('metrics');\n// 删除表\nvar response = await client.deleteTable('metrics');\n```\n\n所有行的操作\n\n```js\n// 写入行\nvar name = 'metrics';\nvar condition = {\n  row_existence: ots.RowExistenceExpectation.IGNORE\n};\nvar primaryKeys = {uid: 'test_uid'};\n\nvar columns = {test: 'test_value'};\n\nvar response = await client.putRow(name, condition, primaryKeys, columns);\n\n// 读取行\nvar name = 'metrics';\nvar primaryKeys = {uid: 'test_uid'};\n\nvar columns = ['test'];\nvar response = await client.getRow(name, primaryKeys, columns);\n\n// 更新行\nvar name = 'metrics';\nvar condition = {\n  row_existence: ots.RowExistenceExpectation.IGNORE\n};\nvar primaryKeys = {uid: 'test_uid'};\n\nvar columns = {\n  test: ots.$put('test_value_replaced')\n};\n\nvar response = await client.updateRow(name, condition, primaryKeys, columns);\n\n// 删除行\nvar name = 'metrics';\nvar condition = {\n  row_existence: ots.RowExistenceExpectation.IGNORE\n};\nvar primaryKeys = {\n  uid: 'test_uid'\n};\n\nvar response = await client.deleteRow(name, condition, primaryKeys);\n```\n\n批量操作\n\n```js\n// 批量写\nvar tables = [\n  {\n    table_name: 'metrics',\n    put_rows: [\n      {\n        condition: {\n          row_existence: ots.RowExistenceExpectation.IGNORE\n        },\n        primary_key: {\n          uid: 'test_uid'\n        },\n        attribute_columns: {\n          test: 'test_value'\n        }\n      }\n    ],\n    update_rows: {},\n    delete_rows: {}\n  }\n];\nvar response = await client.batchWriteRow(tables);\n\n// 批量读\nvar tables = [\n  {\n    table_name: 'metrics',\n    rows: [\n      {\n        primary_key: {\n          uid: 'test_uid'\n        }\n      }\n    ],\n    columns_to_get: ['test']\n  }\n];\nvar response = await client.batchGetRow(tables);\n\n// 范围读\nvar start = {\n  uid: ots.InfMin\n};\n\nvar end = {\n  uid: ots.InfMax\n};\n\nvar request = {\n  table_name: 'metrics',\n  direction: ots.Direction.FORWARD,\n  columns_to_get: ['test'],\n  limit: 4,\n  inclusive_start_primary_key: start,\n  exclusive_end_primary_key: end\n};\nvar response = await client.getRange(request);\n```\n\n### 条件更新（Conditional Update）和过滤器（Filter）支持\n\n条件更新和过滤器是一个 ConditionColumn 类型，是一种类似 SQL 中的 where 条件。\n\n本模块提供一个makeFilter方法来快速生成一个 ConditionColumn 对象。\n\n```js\nots.makeFilter('column_name < @name true', {\n  name: 'Jackson Tian'\n});\n// column_name => 表中的列名\n// < => 操作符：==, !=, <, <=, >, >=\n// @name 上下文中的属性名\n// true => 列不存在时，默认结果\n```\n\n其中组合条件的语法（DSL）如下：\n\n```js\nname == @name true\nNOT name == @name true\nNOT NOT name == @name true\nname > @name true AND age <= @age false\nname > @name true OR age <= @age false\nNOT name > @name true AND age <= @age false\nname > @name true AND age <= @age false AND gender == @gender true\nname > @name true OR age <= @age false AND gender == @gender true\n```\n\n优先级顺序为：NOT > AND > OR\n\n## License\nOTS服务由阿里云提供。但本模块在MIT许可下自由使用。\n\n(The MIT license)\n","maintainers":[{"email":"console-fe@alibabacloud.com","name":"console-fe"},{"email":"sdk-team@alibabacloud.com","name":"aliyunsdkteam"},{"email":"cpj1106@gmail.com","name":"pagecao"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"shyvo1987@gmail.com","name":"jacksontian"}],"time":{"modified":"2022-06-12T14:30:39.969Z","created":"2017-01-11T07:26:22.680Z","1.3.0":"2017-01-11T07:26:22.680Z","1.3.1":"2017-01-18T02:19:39.568Z","1.4.0":"2017-01-18T09:36:16.563Z","1.5.0":"2017-01-18T16:44:54.015Z","1.5.1":"2017-01-18T17:57:11.466Z","1.5.2":"2017-02-07T09:39:07.208Z","1.5.3":"2017-03-03T17:37:03.019Z","1.5.4":"2017-06-01T08:21:49.725Z","1.5.5":"2017-09-25T17:22:34.309Z","1.5.6":"2018-01-23T07:19:14.531Z","2.0.0-beta1":"2018-01-29T07:52:32.301Z","2.0.0":"2019-08-30T04:03:56.434Z","2.0.1":"2019-08-30T06:49:09.070Z","2.0.2":"2019-08-30T08:28:29.661Z","2.1.0":"2019-08-30T09:41:15.994Z"},"homepage":"https://github.com/ali-sdk/ots2#readme","keywords":["OTS","OTS2","Aliyun"],"repository":{"type":"git","url":"git+https://github.com/ali-sdk/ots2.git"},"author":{"name":"Jackson Tian"},"bugs":{"url":"https://github.com/ali-sdk/ots2/issues"},"license":"MIT","readmeFilename":"README.md","users":{"yi":true}}