This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@sphido/link

1.1.0 • Public • Published

@sphido/link

@sphido/link is extender function that add link() to page and allow create valid URL link to page

Install

yarn add @sphido/link

Example

import {link} from '@sphido/link';
import {frontmatter} from '@sphido/frontmatter';
import {meta} from '@sphido/meta';
import {markdown} from '@sphido/markdown'; 
import {getPage} from '@sphido/core';

(async () => {

	const page = await getPage('/example.html',
		...[
            frontmatter,
            markdown,
            meta,
			{link}
		]
	);

	console.log(page.link());
})();

Source codes

https://github.com/sphido/sphido/tree/main/packages/sphido-link

Readme

Keywords

none

Package Sidebar

Install

npm i @sphido/link

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

2.48 kB

Total Files

4

Last publish

Collaborators

  • ozzyczech