Socket
Socket
Sign inDemoInstall

@webeleon/dev.to

Package Overview
Dependencies
12
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @webeleon/dev.to

dev.to API client


Version published
Weekly downloads
5
increased by150%
Maintainers
2
Created
Weekly downloads
 

Changelog

Source

0.2.5 (2021-07-29)

Bug Fixes

  • deps: chore: dependency query-string to v7 (cfc800f)
  • reset pakcagelock (a8ae3c9)

Readme

Source

unofficial API client for dev.to API

Coverage Status code style: prettier Test and coverage

This repository is not related to the dev.to organisations.

Getting started

npm i @webeleon/dev.to

Use the all inclusive client

import { DevTo } from '@webeleon/dev.to';

const devtToClient = new DevTo('API KEY');

devtToClient
  .articleApi
  .getUserPublishedArticle()
  .then((articles: Article[]) => {
    // do some stuff ;) 
  });

Use a specific client

import { ArticleApi } from '@webeleon/dev.to';

const articleApiClient = new ArticleApi('API _KEY');

articleApiClient
  .getUserPublishedArticle()
  .then((articles: Article[]) => {
    // do some stuff ;) 
  });

Dev.to API support

Work in progress.
At the moment only endpoint required for the site https://webeleon.dev are implemented
If you need more endpoints make a PR or create an Issue

Article

Keywords

FAQs

Last updated on 29 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc