prx-podagent
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -50,4 +50,4 @@ const fs = require('fs'); | ||
TAGS.forEach(t => { | ||
agent[`${t}Id`] = agent[t]; | ||
agent[t] = tagLookup[agent[t]] || 'Unknown'; | ||
agent[`${t}Id`] = parseInt(agent[t]) || null; | ||
agent[t] = tagLookup[agent[t]] || null; | ||
}); | ||
@@ -54,0 +54,0 @@ return agent; |
{ | ||
"name": "prx-podagent", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "User-agent parser for common podcast clients", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# PRX Podcast User-Agent Parser | ||
[](LICENSE) | ||
[](https://www.npmjs.com/package/prx-podagent) | ||
[](https://www.npmjs.com/package/prx-podagent) | ||
[](LICENSE) | ||
[](https://www.npmjs.com/package/prx-podagent) | ||
[](https://www.npmjs.com/package/prx-podagent) | ||
@@ -7,0 +7,0 @@ ## Description |
22419