@pickk/sens
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

ncloud Logo

NCP SENS client for Node.js

NPM Version Package License NPM Downloads

이 모듈은 Naver Cloud Platform에서 제공하는 Simple & Easy Notification Service(SENS) API를 Node.js®로 구현한 클라이언트입니다.
NCP SENS의 개발 가이드는 여기를 참고하시기 바랍니다.

  • 💙 Typescript support
  • 📦 5kb mini library
  • 👫 All browsers supported
  • 🏃 Currently maintaining

Requirements

Installation

$ npm install --save @pickk/sens
# or
$ yarn add @pickk/sens

Features

  • SMS
    1. send
  • Alimtalk
    1. send

Usage

import { SmsClient } from '@pickk/sens';

const smsClient = new SmsClient({
  accessKey: 'your-access-key',
  smsServiceId: 'your-sms-service-id',
  smsSecretKey: 'your-sms-secret-key',
  callingNumber: 'your-calling-number',
});

await smsClient.send({
  to: ['01012341234', '01043214321'],
  content: 'Hello Sens!',
});

Author

Contribution

  • 이 프로젝트는 누구나 참여 가능합니다.
  • 버그나 개선점 및 의견 등은 이슈Pull Request를 활용해주세요.

Links

License

This Package is MIT licensed.

References

Package Sidebar

Install

npm i @pickk/sens

Weekly Downloads

16

Version

1.1.1

License

MIT

Unpacked Size

25.5 kB

Total Files

22

Last publish

Collaborators

  • greatsumini
  • yamkee
  • s_young125