Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@readme/api-explorer
Advanced tools
UI components for the API explorer
npm install --save @readme/api-explorer
<ApiExplorer
docs={Array}
oasFiles={Object}
flags={Object}
appearance={{
referenceLayout: String,
}},
oauth={Boolean}
suggestedEdits={Boolean}
tryItMetrics={function}
variables={
user: {
keys: Array,
},
defaults: Array,
}
glossaryTerms={Array}
/>
docs
- an array of objects from ReadMe containing all of your pagesoasFiles
- an object of oas 3 files with the key being the _id
of the apiSetting in readme e.g.{
'5a205ad8c2de471d1c80dd22': <OAS 3 file>
}
flags
- an object of project flags from readme. Changing these will modify how the API Explorer works.appearance.referenceLayout
- a string to determine the layout style, either row
or column
.oauth
- whether this project uses oauth or notsuggestedEdits
- whether suggested edits are enabled or not. This just toggles the button.tryItMetrics
- function to call when request is madevariables.user
- user specific variables, setup via JWT login to ReadMevariables.defaults
- default project variablesglossaryTerms
- glossary terms defined in the ReadMe projectISC
<small>13.4.18 (2021-07-06)</small>
FAQs
UI components for the API explorer
The npm package @readme/api-explorer receives a total of 130 weekly downloads. As such, @readme/api-explorer popularity was classified as not popular.
We found that @readme/api-explorer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers collaborating on the project.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.