https://github.com/afeiship/next-gpid
Get picture uid from url.
https://github.com/afeiship/next-gpid
id image next picture pid uid
Last synced: about 1 month ago
JSON representation
Get picture uid from url.
- Host: GitHub
- URL: https://github.com/afeiship/next-gpid
- Owner: afeiship
- License: mit
- Created: 2016-05-17T08:32:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2026-04-18T23:42:28.000Z (2 months ago)
- Last Synced: 2026-05-08T10:46:24.705Z (about 2 months ago)
- Topics: id, image, next, picture, pid, uid
- Language: JavaScript
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-gpid
> Get picture uid from url.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```bash
yarn add @jswork/next-gpid
```
## usage
```js
import '@jswork/next-gpid';
const url = 'http://upload-images.jianshu.io/upload_images/2110669-31cb0672f7e2c467.png';
const pid = nx.gpid(url);
// 2110669-31cb0672f7e2c467
```
## license
Code released under [the MIT license](https://github.com/afeiship/next-gpid/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/next-gpid
[version-url]: https://npmjs.org/package/@jswork/next-gpid
[license-image]: https://img.shields.io/npm/l/@jswork/next-gpid
[license-url]: https://github.com/afeiship/next-gpid/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-gpid
[size-url]: https://github.com/afeiship/next-gpid/blob/master/dist/next-gpid.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next-gpid
[download-url]: https://www.npmjs.com/package/@jswork/next-gpid