
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.
@internetarchive/ia-sharing-options
Advanced tools
Sharing options for Internet Archive items
This webcomponent follows the open-wc recommendation.
npm i ia-sharing-options
or
yarn add @internetarchive/ia-sharing-options
<script type="module">
import 'ia-sharing-options/ia-sharing-options.js';
</script>
<ia-sharing-options></ia-sharing-options>
The necessary properties to build all sharing URLs appear below:
{
baseHost: "archive.org" // The domain name used to build sharing URLs
identifier: "goody", // Item identifier
type: "book", // Item type
creator: "Welsh, Charles", // Item creator
description: "The history of Little Goody Two-Shoes : otherwise called Mrs. Margery Two-Shoes ... [1766 edition]" // Item description
}
ia-sharing-options {
--shareLinkColor: #fff;
--shareIconBorder: #fff;
--textareaColor: #fff;
--textareaColor: #151515;
}
To scan the project for linting errors, run
npm run lint
To run the suite of karma tests, run
npm run test
To run the tests in watch mode (for TDD, for example), run
npm run test:watch
For most of the tools, the configuration is in the package.json
to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
es-dev-server
npm start
To run a local development server that serves the basic demo located in demo/index.html
FAQs
Sharing options for Internet Archive items
The npm package @internetarchive/ia-sharing-options receives a total of 2 weekly downloads. As such, @internetarchive/ia-sharing-options popularity was classified as not popular.
We found that @internetarchive/ia-sharing-options demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 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
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.