```javascript
var main = ( pkgData.main || 'main' ).replace( /\.js$/, '' );
```