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

programmingwiki

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

programmingwiki

A package which is used to fetch programming articles from a RESTful API.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

programmingwiki

Get programming articles

Install

npm install programmingwiki

Usage

Note: You can only use this package with es6 import. How to use es6 import in nodejs

// es6
import * as programmingwiki from ("programmingwiki")


await programmingwiki.all();
//=>[{"_id":"635ff60b3ef4cbf59de412ba","title":"CSS","content":"Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language such as HTML or XML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.","tags":["Language","Web-Development","Frontend"],"__v":0}...]

await programmingwiki.random();
//=> [{"_id":"6360eeebbbd604d6985864e5","title":"REST","content":"REST is short for REpresentational State Transfer. It's an architectural style for designing APIs.","tags":["API"],"__v":0}]

await programmingwiki.searchByTitle("REST");
//=> [{"_id":"6360eeebbbd604d6985864e5","title":"REST","content":"REST is short for REpresentational State Transfer. It's an architectural style for designing APIs.","tags":["API"],"__v":0}]

await programmingwiki.searchByTag(["Web-Development", "API"]);

API

.all()

Type: Function

Retrieves all the stored programming articles.

.random()

Type: Function

Random programming article.

.searchByTitle(title)

Type: Function

Retrieve a programming article by the title name.

.searchByTag(tags[])

Type: Function

Retrieves programming articles by their tags.

Some of the tags available are:

  • Web-Development
  • Languages
  • API
  • Framework
  • Database
  • Frontend
  • JavaScript-Library
  • Backend
  • Network
  • Software-Development

FAQs

Package last updated on 29 Dec 2022

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