socket-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

socket-sdk

styled with prettier NPM version Greenkeeper badge Build Status Coveralls

Socket SDK for JavaScript

Usage

npm install socket-sdk

Importing library

You can import the generated bundle to use the whole library generated by this starter:

import SocketClient from 'socket-sdk';

Additionally, you can import the transpiled modules from dist/lib in case you have a modular library:

import SocketClient from 'socket-sdk/dist/lib/socket-sdk';

API

API Document

NPM scripts

  • npm t: Run test suite
  • npm start: Run npm run build in watch mode
  • npm run test:watch: Run test suite in interactive watch mode
  • npm run test:prod: Run linting and generate coverage
  • npm run build: Generate bundles and typings, create docs
  • npm run lint: Lints code
  • npm run commit: Commit using conventional commit style (husky will tell you to use it if you haven't 😉)

Relation

Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -m 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request :D

License

@1ziton MIT

/socket-sdk/

    Package Sidebar

    Install

    npm i socket-sdk

    Weekly Downloads

    7

    Version

    1.2.4

    License

    MIT

    Unpacked Size

    217 kB

    Total Files

    43

    Last publish

    Collaborators

    • yztnpm
    • wuyuxing
    • xinzhenyong
    • giscafer