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

skiliko-sdk

v3.3.3

Published

SDK for skiliko applications

Downloads

76

Readme

Skiliko SDK

Installation

npm i --save skiliko-sdk

Initialize it

Node

const Skiliko = require('skiliko-sdk')
// request from your user's request to the server
Skiliko.initForNode(request, 'skiliko.com')

Browser

const Skiliko = require('skiliko-sdk')
Skiliko.initForBrowser('skiliko.com')

You can force a specific platform

Skiliko.Settings.set('token', {
  ...Skiliko.Settings.get('token'),
  platform_token: '__MY_PLATFORM_TOKEN__'
})

Access Skiliko functions

You can have access to pretty much all APIs from Skiliko, Expert, Purchase, Session, User...

Here is the list of module you can have access

Card

  • create: create a card for the user

Chat

  • getChat: get the chat object
  • pendingMessages: get the pending messages of a user

Country

  • codes: list of country codes
  • all: list of countries

Expert

  • all: get all experts
  • get: get a specific expert
  • todaySchedule: know today schedule for an expert
  • nextSchedule: know next schedule for an expert
  • available: know if an expert is available
  • isRestricted: know if an expert is restricted

Offer

  • all: get all offers
  • get: get a specific offer
  • promotions: get all promotions
  • publicOffers: get all public offers
  • prepaidMinutes: get prepaid minutes offers

Purchase

  • all: get all purchases of the user
  • get: get a specific purchase for the user
  • create: create a new purchase
  • save: save a purchase
  • pay: pay for a purchase
  • canAccept: know if the user can accept a purchase
  • accept: accept a purchase
  • canRefund: know if the user can refund a purchase
  • refund: refund a purchase
  • toReview: get list of purchases to review
  • ratingNeeded: know if a purchase needs reating

Rating

  • all: get all ratings
  • create: create a new rating

Session

  • init: initialize user's session
  • signedIn: know if the user is signed in
  • login: login the user
  • logout: logout the user
  • register: register the user
  • unregister: unregister the user
  • onSignedIn: event when the user signed in
  • onSignedOut: event when the user signed out

Settings

  • get: get a setting
  • set: set a setting
  • remove: remove a setting

Support

  • message: send a message to the support

Timezone

  • detect: detect the timezone
  • getSelectOptions: returns label and value for timezone selection
  • scheduleToCurrentDates: adapt a schedule to the current timezone

Upload

  • upload: upload a file

User

  • current: get the current user
  • save: save the user