
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
scout-api-client
Advanced tools
The REST-API client for scout, powered by typescript & axios.
This is generated api client by open-api-generator.
Once you have installed that on your target project you can use scout API:
import { GeoApi } from '@akido/scout-api-client';
export const scoutApi = new GeoApi({
basePath: SCOUT_API_URL,
});
const example = async () => {
try {
const { data } = await scoutApi.fetchMapLayers();
console.log(data, 'Result from api.');
} catch (error) {
console.log('API error: ', error);
}
};
example();
Navigate to scout/apps/api
, make sure all dependencies are installed and run the server:
yarn run dev
Right after that in the same folder run:
yarn run api:generate-client
This command will generate scout-api-client
under scout/libs/scout-api-client
.
One you are ready to publish new version of package please increment package version (libs/scout-api-client/package.json
), and run npm publish
under scout/libs/scout-api-client
.
All done! Now you published new version of scout-api-client
!
yarn run api:generate-client
runningyarn run api:generate-client
output, there might be errors related to swaggerlibs/scout-api-client/package.json
and it is above version that you currently have in GitLab registryFAQs
The REST-API client for scout, powered by typescript & axios.
The npm package scout-api-client receives a total of 0 weekly downloads. As such, scout-api-client popularity was classified as not popular.
We found that scout-api-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.