Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webeleon/dev.to

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webeleon/dev.to

dev.to API client

  • 0.2.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
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

Package last updated on 29 Jul 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc