Get programming articles
npm install programmingwikiNote: You can only use this package with es6 import. How to use es6 import in nodejs
// es6import*asprogrammingwikifrom("programmingwiki")awaitprogrammingwiki.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}...]awaitprogrammingwiki.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}]awaitprogrammingwiki.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}]awaitprogrammingwiki.searchByTag(["Web-Development","API"]);Type: Function
Retrieves all the stored programming articles.
Type: Function
Random programming article.
Type: Function
Retrieve a programming article by the title name.
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
- API Endpoint: https://programmingwiki.herokuapp.com/
- ProgrammingWiki-API : how to use the api directly.
- npm