Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Angular component to show articles form Medium blog feed. This is useful in case you would like to embed your stories in your website.
npm install ng-medium
Add the declaration to your @NgModule:
import {NgMediumModule} from 'ng-medium';
...
@NgModule({
imports: [
NgMediumModule
]
})
Use directly inside your HTML templates by adding the tag 'autosize' to any textarea.
<ng-medium-feed
feedUrl="https://medium.com/feed/tag/typescript"
></ng-medium-feed>
The whole purpose of this project is to get the feed look native in your website. This means there needs to be a way to provide whatever styling you want. For this purpose there is styles
input on the component.
The input accepts an object of NgMediumStyles.
<ng-medium-feed
feedUrl="https://medium.com/feed/tag/typescript"
styles="{'feedContainer': {'background': 'red'}}"
>
</ng-medium-feed>
The more complex example can be seen in demo
Please note that all the not-provided sections get a default styling. That lives in NgMediumFeedComponent
All the help is welcome!
To build library run in root folder:
ng build ng-medium
After that ng serve demo
will use the version you just build.
The library is being packaged and sent to npm. Following steps are needed:
npm run-script packLib
npm login # unless you haven't done that
npm run-script publishLib
FAQs
Unknown package
The npm package ng-medium receives a total of 0 weekly downloads. As such, ng-medium popularity was classified as not popular.
We found that ng-medium 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.